diff options
| -rw-r--r-- | configs/wiregrill.nix | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/configs/wiregrill.nix b/configs/wiregrill.nix index baa9f3d8..f07f3ef4 100644 --- a/configs/wiregrill.nix +++ b/configs/wiregrill.nix @@ -66,9 +66,7 @@ in lib.optional (cfg.net.ip4 != null) (toCidrNotation cfg.net.ip4) ++ lib.optional (cfg.net.ip6 != null) (toCidrNotation cfg.net.ip6); }; - tv.iptables.extra.filter.INPUT = [ - "-p udp --dport ${toString cfg.net.wireguard.port} -j ACCEPT" - ]; + hrm.nftables.input.internet.udp = [ cfg.net.wireguard.port ]; } # With networkd, the key is systemd-networkd's credential, which orders # it after enstate.service by itself; the scripted unit reads it itself. |
