From 93115c048b1b0ebd770831f0953cd2fad5340867 Mon Sep 17 00:00:00 2001 From: Astro Date: Tue, 6 Apr 2021 22:09:28 +0200 Subject: [PATCH] nixos-module/container/anon: make shorter --- nix/nixos-module/container/anon.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nix/nixos-module/container/anon.nix b/nix/nixos-module/container/anon.nix index d72f660..59396a3 100644 --- a/nix/nixos-module/container/anon.nix +++ b/nix/nixos-module/container/anon.nix @@ -89,7 +89,7 @@ in ''; }) tunnels; - networking.nat = lib.optionalAttrs (firstTunnel != null) { + networking.nat = lib.optionalAttrs enabled { enable = true; enableIPv6 = true; internalInterfaces = [ "core" ];