1 Commits

Author SHA1 Message Date
29afc27594 [microvm] fix comparision
Some checks failed
Evaluate Hydra Jobs / eval-hydra-jobs (push) Successful in 2m48s
Evaluate Hydra Jobs / eval-hydra-jobs (pull_request) Failing after 13m49s
2024-11-21 13:02:54 +01:00

View File

@@ -57,7 +57,7 @@ in
};
};
imports = mkIf (lib.length cfg.deployHosts != 0) [
imports = mkIf lib.length cfg.deployHosts != 0 [
inputs.microvm.nixosModules.host
];
@@ -73,7 +73,7 @@ in
updateFlake = "git+https://git.dynamicdiscord.de/kalipso/infrastructure?ref=microvm";
}; };
in
mkIf (lib.length cfg.deployHosts != 0)
mkIf lib.length cfg.deployHosts != 0
builtins.listToAttrs (map mapperFunc cfg.deployHosts);
};
}