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