1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-15 02:43:24 +03:00
mobile-nixos/examples/demo/default.nix
2020-02-03 21:58:22 -05:00

24 lines
526 B
Nix

{ device ? null }:
let
system-build = import ../../. {
inherit device;
configuration = [ (import ./configuration.nix) ];
};
burn-tool-build = import ../../. {
inherit device;
configuration = [ (import ./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;
}