puter/common/tailscale.nix
2025-03-23 22:48:46 +01: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";
};
}