From 03ed50e1c12f768540a37c75d1821aafc2f4fcb6 Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Wed, 1 Jan 2025 02:15:03 +0400 Subject: [PATCH] ohio --- modules/server/services/headscale.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/modules/server/services/headscale.nix b/modules/server/services/headscale.nix index 2f64de0e..4fc59bb8 100644 --- a/modules/server/services/headscale.nix +++ b/modules/server/services/headscale.nix @@ -57,6 +57,18 @@ in { unix_socket = "/run/headscale/headscale.sock"; unix_socket_permission = "0770"; + dns = { + magic_dns = true; + #override_local_dns = true; + base_Domain = "sa.ko"; + + domains = [ "sa.ko" ]; + + nameservers = { global = [ "192.168.1.28" "sakoserver" "1.1.1.1" ]; }; + }; + + # TODO Derp relays + # logging log = { format = "text";