diff --git a/modules/firewall.nix b/modules/firewall.nix index 27e120a..cc4dba0 100644 --- a/modules/firewall.nix +++ b/modules/firewall.nix @@ -1,7 +1,9 @@ { + networking.firewall = { + enable = false; + # Open ports in the firewall. - networking.firewall.allowedTCPPorts = [8080 10001 10002]; - networking.firewall.allowedUDPPorts = [8080 10001 10002]; - # Or disable the firewall altogether. - networking.firewall.enable = false; + allowedTCPPorts = [8080 10001 10002]; + allowedUDPPorts = [8080 10001 10002]; + }; }