diff options
Diffstat (limited to '')
-rw-r--r-- | hosts/darkstar/default.nix | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/hosts/darkstar/default.nix b/hosts/darkstar/default.nix index 5ae8ada..1299eae 100644 --- a/hosts/darkstar/default.nix +++ b/hosts/darkstar/default.nix @@ -42,9 +42,6 @@ hostName = "darkstar"; defaultGateway = "192.168.1.1"; domain = "bitgnome.net"; - firewall.extraCommands = '' - ${pkgs.nftables}/bin/nft -f ${config.sops.secrets."nftables/ssh".path} - ''; interfaces = { enp116s0 = { ipv4.addresses = [ @@ -62,7 +59,12 @@ # externalInterface = "vlan201"; # internalInterfaces = [ "enp116s0" ]; #}; - nftables.enable = true; + nftables = { + enable = true; + preCheckRuleset = '' + ${pkgs.nftables}/bin/nft -f ${config.sops.secrets."nftables/ssh".path} + ''; + }; #useDHCP = false; vlans = { vlan201 = { id=201; interface="enp117s0"; }; |