summaryrefslogtreecommitdiff
path: root/modules/nixos/tailscale.nix
blob: 54322597f721f791ac390fcc87a92c110f852bd7 (plain)
1
2
3
4
5
6
7
8
{ config, pkgs, ... }: {
  services.tailscale.enable = true;
  networking.firewall = {
    checkReversePath = "loose";
    trustedInterfaces = [ "taiolscale0" ];
    allowedUDPPorts = [ config.services.tailscale.port ];
  };
}