mirror of
https://github.com/gburd/nix-config.git
synced 2024-11-20 10:36:25 +00:00
11 lines
241 B
Nix
11 lines
241 B
Nix
|
{ config, ... }: {
|
||
|
services.tailscale.enable = true;
|
||
|
networking = {
|
||
|
firewall = {
|
||
|
checkReversePath = "loose";
|
||
|
allowedUDPPorts = [ config.services.tailscale.port ];
|
||
|
trustedInterfaces = [ "tailscale0" ];
|
||
|
};
|
||
|
};
|
||
|
}
|