nixos-config/linux/singularity/headscale.nix
2023-12-06 23:34:51 -08:00

17 lines
327 B
Nix

{ config, ... }:
{
services = {
headscale = with config.constants; {
enable = true;
address = localhost;
port = port.headscale;
settings.server_url = "https://headscale.${domain}";
};
tailscale = {
enable = true;
port = 27919;
useRoutingFeatures = "both";
};
};
}