nixos-config/modules/headscale.nix

10 lines
218 B
Nix
Raw Normal View History

2023-08-02 20:24:47 +00:00
{config, ...}:
{
services.tailscale.enable = true;
networking.firewall = {
checkReversePath = "loose";
trustedInterfaces = [ "tailscale0" ];
allowedUDPPorts = [ config.services.tailscale.port ];
};
}