puter/common/tailscale.nix
2025-03-30 16:20:43 +00:00

15 lines
286 B
Nix

{config, ...}: {
services.tailscale = {
enable = true;
openFirewall = true;
};
networking.firewall = {
trustedInterfaces = [
config.services.tailscale.interfaceName
];
# Required to connect to Tailscale exit nodes
checkReversePath = "loose";
};
}