summary refs log tree commit diff stats
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-rw-r--r--system/linde.nix18
1 files changed, 18 insertions, 0 deletions
diff --git a/system/linde.nix b/system/linde.nix
index 5af32281..0137b3b5 100644
--- a/system/linde.nix
+++ b/system/linde.nix
@@ -21,6 +21,7 @@ in
 {
   imports =
     [
+      <personal/modules/laminar.nix>
       <home-manager/nixos>
       <agenix/modules/age.nix>
       <searchix/nix/modules>
@@ -717,6 +718,15 @@ in
               reverse_proxy ${ns.bindAddress}:${toString ns.port}
             '';
           };
+        "ci.alanpearce.eu" =
+          let
+            srv = config.services.laminar;
+          in
+          {
+            extraConfig = ''
+              reverse_proxy ${srv.settings.bindHTTP}
+            '';
+          };
       };
   };
   systemd.services.caddy.serviceConfig = {
@@ -966,4 +976,12 @@ in
       };
     };
   };
+
+  services.laminar = {
+    enable = true;
+    settings = {
+      bindHTTP = "[::1]:8002";
+      keepRundirs = 1;
+    };
+  };
 }