8 lines
250 B
Nix
8 lines
250 B
Nix
{config, ...}: {
|
|
services.tailscale = {
|
|
enable = true;
|
|
};
|
|
networking.firewall.trustedInterfaces = ["tailscale0"];
|
|
networking.firewall.allowedUDPPorts = [config.services.tailscale.port];
|
|
networking.firewall.checkReversePath = "loose";
|
|
}
|