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:
commit
f71079774d
@ -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; }
|
||||
|
Loading…
Reference in New Issue
Block a user