From b3f5b57cff4d364316735a2cc159dee02693b689 Mon Sep 17 00:00:00 2001 From: Alex Davies Date: Sat, 11 May 2024 17:44:21 -0300 Subject: [PATCH] Actual conditional zerotier --- nixos/zerotier.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nixos/zerotier.nix b/nixos/zerotier.nix index 5ef0bfa..8d64c93 100644 --- a/nixos/zerotier.nix +++ b/nixos/zerotier.nix @@ -18,5 +18,6 @@ in { #Don't join zerotier if I'm testing in a VM #if !(options.virtualisation ? qemu) then - services.zerotierone.joinNetworks = [ "e04fa485ed2a4dc4" ]; + #services.zerotierone.joinNetworks = lib.optional (!config.virtualisation.qemu.all) "e04fa485ed2a4dc4"; + #services.zerotierone.joinNetworks = [ "e04fa485ed2a4dc4" ]; }