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