puter/classes/headless/tailscale.nix

13 lines
244 B
Nix
Raw Normal View History

2025-03-09 15:37:21 +00:00
{
services.tailscale = {
enable = true;
openFirewall = true; #TODO
};
networking.firewall = {
checkReversePath = "loose";
trustedInterfaces = ["tailscale0"];
allowedUDPPorts = [config.services.tailscale.port];
};
}