1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-16 20:21:32 +03:00
mobile-nixos/modules/recovery.nix

16 lines
379 B
Nix
Raw Normal View History

2021-01-29 05:32:02 +03:00
{ config, pkgs, ... }:
# This module provides the `recovery` build output.
# It is the same configuration, with minor customizations.
{
2021-01-29 05:32:02 +03:00
system.build.recovery = (config.lib.mobile-nixos.composeConfig {
config = {
mobile.system.android.bootimg.name = "recovery.img";
mobile.boot.stage-1.bootConfig = {
is_recovery = true;
};
2021-01-29 05:32:02 +03:00
};
}).config;
}