nixos-module/container/anon: make shorter
This commit is contained in:
parent
69c2823694
commit
93115c048b
|
@ -89,7 +89,7 @@ in
|
||||||
'';
|
'';
|
||||||
}) tunnels;
|
}) tunnels;
|
||||||
|
|
||||||
networking.nat = lib.optionalAttrs (firstTunnel != null) {
|
networking.nat = lib.optionalAttrs enabled {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableIPv6 = true;
|
enableIPv6 = true;
|
||||||
internalInterfaces = [ "core" ];
|
internalInterfaces = [ "core" ];
|
||||||
|
|
Loading…
Reference in New Issue