stdexp: Allow extra mounts

This commit is contained in:
2020-11-20 15:30:47 +01:00
parent 2863ab6ae1
commit 734d494d96
3 changed files with 20 additions and 6 deletions

View File

@@ -75,11 +75,17 @@ rec {
}
);
isolate = {nextStage, conf, ...}: stages.isolate {
clusterName = machineConf.name;
inherit (conf) nixPrefix;
inherit nextStage;
};
isolate = {nextStage, conf, ...}: stages.isolate (
(
if (conf ? extraMounts) then { inherit (conf) extraMounts; }
else {}
) //
{
clusterName = machineConf.name;
inherit (conf) nixPrefix;
inherit nextStage;
}
);
};
stdPipelineOverride = {overrides ? {}}: