about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2024-02-10 07:19:56 +0900
committersefidel <contact@sefidel.net>2024-02-10 07:24:14 +0900
commit854fe552df5e51dd0622fd2ad48a30a31cf3665f (patch)
treec4c0b87f87129165ab60e498b0377365ac9a9f04 /nixos
parentdf683f6042fa4ce14367c6a0b810ab29f1a2ae9e (diff)
downloadnixrc-854fe552df5e51dd0622fd2ad48a30a31cf3665f.tar.gz
nixrc-854fe552df5e51dd0622fd2ad48a30a31cf3665f.zip
feat(nixos/kanata): enable hydra
Diffstat (limited to 'nixos')
-rw-r--r--nixos/kanata/configuration.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/nixos/kanata/configuration.nix b/nixos/kanata/configuration.nix
index f90b9ef..05b7969 100644
--- a/nixos/kanata/configuration.nix
+++ b/nixos/kanata/configuration.nix
@@ -153,6 +153,7 @@ in
         "metrics.kusanari.network".to = "http://localhost:4001";
         "nitter.kusanari.network".to = "http://localhost:4002";
         "invidious.kusanari.network".to = "http://localhost:4003";
+        "hydra.kusanari.network".to = "http://localhost:4004";
 
         # Nginx pre-configured routes
         "nextcloud.kusanari.network" = {
@@ -187,6 +188,7 @@ in
             "dns"
             "metrics"
             "invidious"
+            "hydra"
           ];
         };
       };
@@ -234,6 +236,12 @@ in
       realHost = "invidious.kusanari.network";
       secrets.invidious-hmac-key = config.sops.secrets.invidious-hmac.path;
     };
+
+    services.hydra = {
+      enable = true;
+
+      baseURL = "https://hydra.kusanari.network";
+    };
   };
 
   containers.v-interlink = {