[microvm] separate enableHostBridge from deployHosts
All checks were successful
Evaluate Hydra Jobs / eval-hydra-jobs (push) Successful in 3m10s
Evaluate Hydra Jobs / eval-hydra-jobs (pull_request) Successful in 3m39s

This commit is contained in:
2024-11-21 14:23:10 +01:00
parent 342759246f
commit 100ddf2cd4

View File

@@ -4,7 +4,6 @@ with lib;
let
cfg = config.services.malobeo.microvm;
hostsEmpty = length cfg.deployHosts == 0;
in
{
options = {
@@ -56,6 +55,8 @@ in
} ];
};
} // mkIf (!hostEmpty) {
# connect the vms to the bridge
networks."11-microvm" = {
matchConfig.Name = "vm-*";