1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-11-28 12:56:54 +03:00

Moves platforms definition in more generic hardware definitions.

This commit is contained in:
Samuel Dionne-Riel 2018-06-26 22:07:46 -04:00
parent 9d6e2a0a99
commit 242bb764b0
4 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,6 @@
};
};
mobile.system.platform = "aarch64-linux";
mobile.system.type = "android-bootimg";
mobile.boot.stage-1 = {
extraUtils = with pkgs; [

View File

@ -61,7 +61,6 @@ in
ram = 512;
};
mobile.system.platform = "x86_64-linux";
mobile.system.type = "kernel-initrd";
mobile.boot.stage-1 = {
redirect-log.targets = lib.mkIf (splash != true) [ "/dev/tty0" ];

View File

@ -15,5 +15,6 @@ in
};
config = {
mobile.system.platform = lib.mkIf cfg.generic-x86_64.enable "x86_64-linux";
};
}

View File

@ -17,5 +17,6 @@ in
config = {
# TODO : more generic than msm8939.enable.
mobile.quirks.qualcomm.msm-fb-refresher.enable = cfg.qualcomm-msm8939.enable;
mobile.system.platform = lib.mkIf cfg.qualcomm-msm8939.enable "aarch64-linux";
};
}