diff options
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/nixos/tailscale.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/modules/nixos/tailscale.nix b/modules/nixos/tailscale.nix new file mode 100644 index 0000000..5432259 --- /dev/null +++ b/modules/nixos/tailscale.nix @@ -0,0 +1,8 @@ +{ config, pkgs, ... }: { + services.tailscale.enable = true; + networking.firewall = { + checkReversePath = "loose"; + trustedInterfaces = [ "taiolscale0" ]; + allowedUDPPorts = [ config.services.tailscale.port ]; + }; +} |
