NiksOS/system/services/tailscale.nix
2025-05-24 14:13:58 +02:00

13 lines
254 B
Nix

{
networking.firewall = {
trustedInterfaces = ["tailscale0"];
# required to connect to Tailscale exit nodes
checkReversePath = "loose";
};
# inter-machine VPN
services.tailscale = {
enable = true;
openFirewall = true;
};
}