1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-11 21:17:45 +03:00

Merge pull request #615 from samueldr-wip/fix/disabling-stage-0-no-op

modules/stage-0: Ensure enabling/disabling is a no-op
This commit is contained in:
Samuel Dionne-Riel 2023-05-05 16:00:05 -04:00 committed by GitHub
commit f71079774d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -68,8 +68,8 @@ in
config = {
mobile.outputs.stage-0 = (config.lib.mobile-nixos.composeConfig {
config = { config, ... }: {
mobile.boot.stage-1.stage = if supportsStage-0 then 0 else 1;
config = { config, ... }: lib.mkIf supportsStage-0 {
mobile.boot.stage-1.stage = 0;
mobile.boot.stage-1.extraUtils = [
{ package = pkgs.kexectools; }
{ package = pkgs.fdt-forward; }