server/modules/networking.nix
2026-08-09 09:09:48 +02:00

8 lines
177 B
Nix

{...}: let
in {
networking.firewall = {
enable = true; # disable default firewall
allowedTCPPorts = [22 80 443 25565];
allowedUDPPorts = [22 80 443 25565];
};
}