summaryrefslogtreecommitdiffstats
path: root/makefu/2configs
diff options
context:
space:
mode:
Diffstat (limited to 'makefu/2configs')
-rw-r--r--makefu/2configs/share/gum.nix6
1 files changed, 2 insertions, 4 deletions
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 ];
}