From 71304185bd867c8b92257efc580a3eaed51fce18 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Wed, 3 Dec 2025 10:49:18 +0100 Subject: [PATCH] fix(nix): add DNS nameservers for headscale - Added global DNS nameservers configuration for headscale - Included Cloudflare DNS servers (1.1.1.1, 1.0.0.1) and IPv6 addresses - Added local DNS server (192.168.178.254) for internal resolution --- systems/x86_64-linux/mx/headscale.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/systems/x86_64-linux/mx/headscale.nix b/systems/x86_64-linux/mx/headscale.nix index e077db2..ffadd1b 100644 --- a/systems/x86_64-linux/mx/headscale.nix +++ b/systems/x86_64-linux/mx/headscale.nix @@ -12,6 +12,13 @@ in server_url = "https://${domain}"; dns = { base_domain = "hoyer.tail"; + nameservers.global = [ + "192.168.178.254" + "1.1.1.1" + "1.0.0.1" + "2606:4700:4700::1111" + "2606:4700:4700::1001" + ]; }; oidc = { allowed_domains = [ "hoyer.xyz" ];