From 14b1e2e90a8628edb342fdffd9f1d3d12a1995b9 Mon Sep 17 00:00:00 2001 From: kat Date: Sat, 24 Sep 2022 10:02:02 -0700 Subject: [PATCH] fix: tf state toggle --- hardware/oracle/common.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hardware/oracle/common.nix b/hardware/oracle/common.nix index 8ee8352f..a1692357 100644 --- a/hardware/oracle/common.nix +++ b/hardware/oracle/common.nix @@ -81,7 +81,7 @@ in }; networks = { - internet = { + internet = lib.mkIf tf.state.enable { interfaces = lib.singleton interface; ipv4 = lib.mkOrder 1000 (tf.resources.${config.networking.hostName}.getAttr "public_ip"); ipv6 = let