From eaca59631b9a14b1f2ac3a61e5778c57a4a7ea48 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 21 Jun 2024 21:42:50 +0200 Subject: linde: enable laminar CI --- packages | 2 +- system/linde.nix | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/packages b/packages index d7485c5f..e68afb21 160000 --- a/packages +++ b/packages @@ -1 +1 @@ -Subproject commit d7485c5f7ace65db560d8023906d079928e11822 +Subproject commit e68afb21279ff159d2e91ee60a2e71cedae2ceac 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 = [ + @@ -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; + }; + }; } -- cgit 1.4.1