stage-0: system.build -> mobile.outputs
@@ -53,10 +53,20 @@ in
'';
};
};
+
+ mobile = {
+ outputs = {
+ stage-0 = mkOption {
+ description = ''
+ The configuration, re-evaluated with assumptions for stage-0 use.
+ '';
+ };
+ };
+ };
};
config = {
- system.build.stage-0 = (config.lib.mobile-nixos.composeConfig {
+ mobile.outputs.stage-0 = (config.lib.mobile-nixos.composeConfig {
config = { config, ... }: {
mobile.boot.stage-1.stage = if supportsStage-0 then 0 else 1;
mobile.boot.stage-1.extraUtils = with pkgs; [
