repo.or.cz
/
NixPkgs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
python312Packages.aiohomeconnect: 0.10.0 -> 0.11.0 (#374011)
[NixPkgs.git]
/
nixos
/
modules
/
services
/
networking
/
helpers.nix
blob
9b3539de63b11354dc5c070fc4c123358492584f
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
''