Make MagicDNS fully qualified hostnames work

This commit is contained in:
Elnu 2023-08-07 15:02:42 -07:00
parent 25cb4f70ec
commit d4bb4e7ad9
2 changed files with 6 additions and 2 deletions

View file

@ -10,7 +10,10 @@ in {
port = 8080;
settings = {
server_url = "https://${domain}";
dns_config.base_domain = baseDomain;
dns_config = {
base_domain = baseDomain;
domains = [ baseDomain ];
};
};
};
environment.systemPackages = [ config.services.headscale.package ];