nixos-config/linux/singularity/headscale.nix

18 lines
355 B
Nix
Raw Normal View History

2023-11-27 21:44:04 -08:00
{ config, ... }:
{
2023-12-06 21:46:16 -08:00
services = {
headscale = let const = config.constants; in {
2023-11-27 21:44:04 -08:00
enable = true;
address = const.localhost;
2023-12-06 21:46:16 -08:00
port = const.port.headscale;
2023-11-27 21:44:04 -08:00
settings.server_url = "https://headscale.${const.domain}";
};
tailscale = {
enable = true;
port = 27919;
useRoutingFeatures = "both";
};
};
}