nixos-module/container/anon: make shorter

This commit is contained in:
Astro 2021-04-06 22:09:28 +02:00
parent 69c2823694
commit 93115c048b
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ in
'';
}) tunnels;
networking.nat = lib.optionalAttrs (firstTunnel != null) {
networking.nat = lib.optionalAttrs enabled {
enable = true;
enableIPv6 = true;
internalInterfaces = [ "core" ];