puter/common/tailscale.nix

15 lines
286 B
Nix
Raw Normal View History

2025-03-23 21:48:46 +00:00
{config, ...}: {
services.tailscale = {
enable = true;
openFirewall = true;
};
networking.firewall = {
trustedInterfaces = [
config.services.tailscale.interfaceName
];
# Required to connect to Tailscale exit nodes
checkReversePath = "loose";
};
}