nix-config/hosts/desktop/modules/tailscale.nix

10 lines
No EOL
220 B
Nix

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