diff options
| author | Devin Finlinson <devin.finlinson@pm.me> | 2025-12-05 22:44:28 +0000 |
|---|---|---|
| committer | Devin Finlinson <devin.finlinson@pm.me> | 2025-12-05 22:44:28 +0000 |
| commit | 055aea08f91823d4ad32c124fe06e8bd07f2e5c7 (patch) | |
| tree | 2df4979121c855358f13a4b858b010eed3606887 | |
| parent | 20e19407fdda236840e6afa5edeef49f9c0dbece (diff) | |
fixing some headscale settings with update
| -rw-r--r-- | modules/nixos/headscale.nix | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/modules/nixos/headscale.nix b/modules/nixos/headscale.nix index 069defc..f951043 100644 --- a/modules/nixos/headscale.nix +++ b/modules/nixos/headscale.nix @@ -12,9 +12,15 @@ in { port = 8080; settings = { logtail.enabled = false; - server_url = "https://${subDomain}"; + server_url = "https://headscale.${domain}:8081"; dns = { base_domain = "${subDomain}"; + nameservers.global = [ + "1.1.1.1" + "9.9.9.9" + "2606:4700:4700::1111" + "2606:4700:4700::1001" + ]; extra_records = [ { name = "git.${domain}"; @@ -40,6 +46,9 @@ in { virtualHosts.${subDomain}.extraConfig = '' reverse_proxy localhost:${toString config.services.headscale.port} ''; + virtualHosts."headscale.${domain}".extraConfig = '' + reverse_proxy localhost:8081 + ''; }; }; |
