From e3ad641917b15671272c03670229f55b42e89ef8 Mon Sep 17 00:00:00 2001 From: Lukas Wurzinger Date: Sun, 30 Mar 2025 15:05:55 +0000 Subject: [PATCH] stuff --- hosts/headless/abacus/headscale.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/hosts/headless/abacus/headscale.nix b/hosts/headless/abacus/headscale.nix index 09c764b..9cd3ce5 100644 --- a/hosts/headless/abacus/headscale.nix +++ b/hosts/headless/abacus/headscale.nix @@ -5,8 +5,8 @@ in { enable = true; address = "127.0.0.1"; port = 8010; - server_url = "https://${virtualHostName}"; settings = { + server_url = "https://${virtualHostName}"; logtail.enabled = false; }; }; @@ -15,7 +15,10 @@ in { forceSSL = true; enableACME = true; locations."/" = { - proxyPass = "http://localhost:${builtins.toString config.services.headscale.port}"; + proxyPass = let + host = config.services.headscale.address; + port = builtins.toString config.services.headscale.port; + in "http://${host}:${port}"; proxyWebsockets = true; }; };