nixos-config/linux/singularity/headscale.nix

15 lines
321 B
Nix
Raw Normal View History

2024-08-14 11:14:20 -07:00
{config, ...}: {
2026-02-16 22:00:15 -08:00
services.headscale = with config.constants; {
enable = true;
address = localhost;
port = port.headscale;
settings = {
dns = {
base_domain = "tailscale.${domain}";
override_local_dns = false;
2024-10-10 21:28:09 -07:00
};
2026-02-16 22:00:15 -08:00
server_url = "https://headscale.${domain}";
2023-11-27 21:44:04 -08:00
};
};
}