My Nix Configuration
1{ config, ... }: 2{ 3 services.tailscale = { 4 enable = true; 5 }; 6 networking.firewall = { 7 trustedInterfaces = [ "tailscale0" ]; 8 allowedUDPPorts = [ config.services.tailscale.port ]; 9 checkReversePath = "loose"; 10 }; 11}