diff options
author | Mark Nipper <nipsy@bitgnome.net> | 2024-06-12 00:39:43 -0700 |
---|---|---|
committer | Mark Nipper <nipsy@bitgnome.net> | 2024-06-12 00:39:43 -0700 |
commit | d34e5a08e3fdc5f2247a41c42ed7c30988f2b89c (patch) | |
tree | 2b2376526d784224591d227705c2ceba11fc4405 /hosts/darkstar | |
parent | 160a113cd3fcc57c8db3a1be20ca1e4b4bdaf0ba (diff) | |
download | nix-d34e5a08e3fdc5f2247a41c42ed7c30988f2b89c.tar nix-d34e5a08e3fdc5f2247a41c42ed7c30988f2b89c.tar.gz nix-d34e5a08e3fdc5f2247a41c42ed7c30988f2b89c.tar.bz2 nix-d34e5a08e3fdc5f2247a41c42ed7c30988f2b89c.tar.lz nix-d34e5a08e3fdc5f2247a41c42ed7c30988f2b89c.tar.xz nix-d34e5a08e3fdc5f2247a41c42ed7c30988f2b89c.tar.zst nix-d34e5a08e3fdc5f2247a41c42ed7c30988f2b89c.zip |
Fix deprecated option
Diffstat (limited to 'hosts/darkstar')
-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"; }; |