diff --git a/hosts/common/global/network.nix b/hosts/common/global/network.nix index 6705a8f..0a29895 100644 --- a/hosts/common/global/network.nix +++ b/hosts/common/global/network.nix @@ -1,3 +1,7 @@ { networking.useDHCP = true; + + networking.firewall = { + enable = true; + }; } diff --git a/hosts/common/sshd.nix b/hosts/common/sshd.nix index 321f23e..d73941f 100644 --- a/hosts/common/sshd.nix +++ b/hosts/common/sshd.nix @@ -16,8 +16,6 @@ }; networking.firewall = { - enable = true; allowedTCPPorts = [ 22 ]; - allowedUDPPorts = [ ]; }; }