mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-01-11 17:54:08 -05:00
fix the mkIf there
This commit is contained in:
parent
4df2e4ad55
commit
5f6a1b0c2c
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue