From 408efad8419891e4fac60f34126a3763e5e3e942 Mon Sep 17 00:00:00 2001 From: Julien Malka <julien@malka.sh> Date: Sat, 20 May 2023 21:42:29 +0200 Subject: [PATCH] added headscale to lambda --- machines/lambda/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/machines/lambda/default.nix b/machines/lambda/default.nix index 3beee42..0a8ce06 100644 --- a/machines/lambda/default.nix +++ b/machines/lambda/default.nix @@ -38,7 +38,7 @@ enable = true; package = pkgs.unstable.ntfy-sh; settings = { - listen-http = ":8080"; + listen-http = ":8081"; behind-proxy = true; upstream-base-url = "https://ntfy.sh"; base-url = "https://notifications.julienmalka.me"; @@ -71,12 +71,12 @@ forceSSL = true; enableACME = true; locations."/" = { - proxyPass = "http://localhost:8080"; + proxyPass = "http://localhost:8081"; proxyWebsockets = true; }; }; - networking.nameservers = [ "100.100.45.5" "9.9.9.9" ]; + networking.nameservers = [ "9.9.9.9" ]; environment.etc."resolv.conf" = with lib; with pkgs; { source = writeText "resolv.conf" '' ${concatStringsSep "\n" (map (ns: "nameserver ${ns}") config.networking.nameservers)}