nix-flake/base/firewall.nix
2025-06-03 17:57:46 +08:00

5 lines
158 B
Nix

{
networking.firewall.allowedUDPPorts = [ 22000 21027 ];
networking.firewall.allowedTCPPorts = [ 22000 ];
services.syncthing.openDefaultPorts = true;
}