nixos-config/modules/headscale.nix
2023-08-02 22:24:47 +02:00

10 lines
218 B
Nix

{config, ...}:
{
services.tailscale.enable = true;
networking.firewall = {
checkReversePath = "loose";
trustedInterfaces = [ "tailscale0" ];
allowedUDPPorts = [ config.services.tailscale.port ];
};
}