From 1ae80a316d997cdfea41c172360c6a9785566fb1 Mon Sep 17 00:00:00 2001 From: Nickiel12 Date: Wed, 9 Oct 2024 17:21:23 -0700 Subject: [PATCH] updated to headscale 0.23.0 --- hosts/Alaska/modules/headscale.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/hosts/Alaska/modules/headscale.nix b/hosts/Alaska/modules/headscale.nix index ae9a07d..4eab3da 100644 --- a/hosts/Alaska/modules/headscale.nix +++ b/hosts/Alaska/modules/headscale.nix @@ -2,8 +2,8 @@ let tailscale_dns_entries = import ./dns.nix; - baseDomain = "nickiel.net"; - domain = "headscale.${baseDomain}"; + baseDomain = "tailscale.nickiel.net"; + domain = "headscale.nickiel.net"; in { # headscale routes list # headscale routes enable -r NUMBER @@ -30,8 +30,10 @@ in { type = "sqlite3"; sqlite.path = "/var/lib/headscale/db.sqlite"; }; + dns_config = {}; dns = { base_domain = baseDomain; + magic_dns = true; extra_records = tailscale_dns_entries; }; derp = {