linde: enable laminar CI
Alan Pearce alan@alanpearce.eu
Fri, 21 Jun 2024 21:42:50 +0200
1 files changed, 18 insertions(+), 0 deletions(-)
jump to
M system/linde.nix → 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 @@ extraConfig = '' 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 = { @@ -964,6 +974,14 @@ fetcher = "channel-nixpkgs"; channel = "nixos-unstable"; }; }; + }; + }; + + services.laminar = { + enable = true; + settings = { + bindHTTP = "[::1]:8002"; + keepRundirs = 1; }; }; }