diff --git a/makefu/2configs/share/gum.nix b/makefu/2configs/share/gum.nix index 55080b2a7..27e0c638b 100644 --- a/makefu/2configs/share/gum.nix +++ b/makefu/2configs/share/gum.nix @@ -33,8 +33,6 @@ in { disable spoolss = yes ''; }; - networking.firewall.extraCommands = '' - iptables -A INPUT -i retiolum -p tcp --dport 445 -j ACCEPT - iptables -A INPUT -i wiregrill -p tcp --dport 445 -j ACCEPT - ''; + networking.firewall.interfaces.retiolum.allowedTCPPorts = [ 445 ]; + networking.firewall.interfaces.wiregrill.allowedTCPPorts = [ 445 ]; }