nixos/lib/testing: enable stc by default for installBootLoader VMs
This commit is contained in:
parent
5cef278170
commit
2bc5aac960
@ -23,10 +23,10 @@ in
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
({ config, ... }: {
|
({ config, ... }: {
|
||||||
# Don't pull in switch-to-configuration by default, except when specialisations are involved.
|
# Don't pull in switch-to-configuration by default, except when specialisations or early boot shenanigans are involved.
|
||||||
# This is mostly a Hydra optimization, so we don't rebuild all the tests every time switch-to-configuration-ng changes.
|
# This is mostly a Hydra optimization, so we don't rebuild all the tests every time switch-to-configuration-ng changes.
|
||||||
key = "no-switch-to-configuration";
|
key = "no-switch-to-configuration";
|
||||||
system.switch.enable = mkDefault (config.isSpecialisation || config.specialisation != {});
|
system.switch.enable = mkDefault (config.isSpecialisation || config.specialisation != {} || config.virtualisation.installBootLoader);
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user