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:
parent
9d6e2a0a99
commit
242bb764b0
@ -19,7 +19,6 @@
|
||||
};
|
||||
};
|
||||
|
||||
mobile.system.platform = "aarch64-linux";
|
||||
mobile.system.type = "android-bootimg";
|
||||
mobile.boot.stage-1 = {
|
||||
extraUtils = with pkgs; [
|
||||
|
@ -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" ];
|
||||
|
@ -15,5 +15,6 @@ in
|
||||
};
|
||||
|
||||
config = {
|
||||
mobile.system.platform = lib.mkIf cfg.generic-x86_64.enable "x86_64-linux";
|
||||
};
|
||||
}
|
||||
|
@ -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";
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user