mirror of
https://github.com/NixOS/mobile-nixos.git
synced 2024-11-12 13:13:02 +03:00
modules/recovery: Use composeConfig
This commit is contained in:
parent
34b033330f
commit
84b7e5eead
@ -1,16 +1,15 @@
|
|||||||
{ pkgs, modules, baseModules, _mobile-nixos, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
# This module provides the `recovery` build output.
|
# This module provides the `recovery` build output.
|
||||||
# It is the same configuration, with minor customizations.
|
# It is the same configuration, with minor customizations.
|
||||||
|
|
||||||
{
|
{
|
||||||
system.build.recovery = (_mobile-nixos.evalConfig {
|
system.build.recovery = (config.lib.mobile-nixos.composeConfig {
|
||||||
inherit baseModules;
|
config = {
|
||||||
modules = modules ++ [{
|
|
||||||
mobile.system.android.bootimg.name = "recovery.img";
|
mobile.system.android.bootimg.name = "recovery.img";
|
||||||
mobile.boot.stage-1.bootConfig = {
|
mobile.boot.stage-1.bootConfig = {
|
||||||
is_recovery = true;
|
is_recovery = true;
|
||||||
};
|
};
|
||||||
}];
|
};
|
||||||
}).config;
|
}).config;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user