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

24 lines
546 B
Nix
Raw Normal View History

{ 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
{
2020-02-03 22:43:31 +03:00
inherit (system-build) build;
2019-10-10 07:39:13 +03:00
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;
}