nix/hosts/prefect/services/tailscale.nix
2022-07-15 22:05:23 -04:00

8 lines
250 B
Nix

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