nixos-config/linux/singularity/headscale.nix
2023-12-06 21:46:16 -08:00

17 lines
355 B
Nix

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