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