mirror of
https://github.com/NixOS/mobile-nixos.git
synced 2024-12-15 11:03:37 +03:00
24 lines
546 B
Nix
24 lines
546 B
Nix
{ device ? null }:
|
|
let
|
|
system-build = import ../../. {
|
|
inherit device;
|
|
configuration = [ { imports = [ ./configuration.nix ]; } ];
|
|
};
|
|
burn-tool-build = import ../../. {
|
|
inherit device;
|
|
configuration = [ { imports = [ ./android-burn-tool.nix ]; } ];
|
|
};
|
|
in
|
|
{
|
|
inherit (system-build) build;
|
|
inherit (system-build.build)
|
|
# Android devices
|
|
android-bootimg android-device
|
|
# QEMU VM
|
|
vm
|
|
# Depthcharge
|
|
disk-image
|
|
;
|
|
android-burn-tool = burn-tool-build.build.android-bootimg;
|
|
}
|