From 5f6a1b0c2cdbb824c59853349a05cb4e45b1b110 Mon Sep 17 00:00:00 2001 From: TheWanderingCrow Date: Fri, 25 Jul 2025 09:28:45 -0400 Subject: [PATCH] fix the mkIf there --- hosts/common/core/nebula.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosts/common/core/nebula.nix b/hosts/common/core/nebula.nix index 6af7e74..ddccc98 100644 --- a/hosts/common/core/nebula.nix +++ b/hosts/common/core/nebula.nix @@ -11,7 +11,7 @@ in { then [''Hey you don't have a nebula config for this host, you should fix this ASAP so you can be connected to the mesh. If you don't know how to do this then contact your admin''] else []; - services.nebula.networks.wce = lib.mkIf builtins.hasAttr "${config.hostSpec.hostName}" s.hosts { + services.nebula.networks.wce = lib.mkIf (builtins.hasAttr "${config.hostSpec.hostName}" s.hosts) { inherit (s) ca; inherit (s.hosts.${config.hostSpec.hostName}) key cert isLighthouse; enable = true;