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