at 25.11-pre 223 B view raw
1{ config, lib, ... }: 2'' 3 # Helper command to manipulate both the IPv4 and IPv6 tables. 4 ip46tables() { 5 iptables -w "$@" 6 ${lib.optionalString config.networking.enableIPv6 '' 7 ip6tables -w "$@" 8 ''} 9 } 10''