1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-16 03:32:02 +03:00
mobile-nixos/modules/recovery.nix
2020-12-29 18:21:52 -05:00

17 lines
418 B
Nix

{ modules, baseModules, ... }:
# This module provides the `recovery` build output.
# It is the same configuration, with minor customizations.
{
system.build.recovery = (import ../lib/eval-config.nix {
inherit baseModules;
modules = modules ++ [{
mobile.system.android.bootimg.name = "recovery.img";
mobile.boot.stage-1.bootConfig = {
is_recovery = true;
};
}];
}).config;
}