From ea9f5af1d7eb6bdd63eafb36c310cabb064dc285 Mon Sep 17 00:00:00 2001 From: TheWanderingCrow Date: Thu, 24 Jul 2025 10:14:30 -0400 Subject: [PATCH] build out mesh some --- hosts/common/core/nebula.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/hosts/common/core/nebula.nix b/hosts/common/core/nebula.nix index b28af41..70eb8e8 100644 --- a/hosts/common/core/nebula.nix +++ b/hosts/common/core/nebula.nix @@ -10,4 +10,10 @@ in { if !builtins.hasAttr "${config.hostSpec.hostName}" s.hosts 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 { + inherit (s) ca; + inherit (s.hosts.${config.hostSpec.hostName}) key cert; + enable = true; + }; }