From 0be2b84fdcbbd93e4b040d1e437396661a30b17a Mon Sep 17 00:00:00 2001 From: clerie Date: Tue, 8 Dec 2020 13:41:37 +0100 Subject: [PATCH] Get the syntax right :/ --- hosts/dn42-il-gw5/configuration.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/hosts/dn42-il-gw5/configuration.nix b/hosts/dn42-il-gw5/configuration.nix index 91a91de..4da7a84 100644 --- a/hosts/dn42-il-gw5/configuration.nix +++ b/hosts/dn42-il-gw5/configuration.nix @@ -48,8 +48,10 @@ networking.firewall.allowedTCPPorts = [ 179 ]; - networking.firewall.extraCommands = "ip6tables -A INPUT -p ospfigp -j ACCEPT"; - networking.firewall.extraCommands = "iptables -A INPUT -p ospfigp -j ACCEPT"; + networking.firewall.extraCommands = '' + ip6tables -A INPUT -p ospfigp -j ACCEPT + iptables -A INPUT -p ospfigp -j ACCEPT + ''; services.bird2.enable = true; services.bird2.config = ''