1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-15 19:23:01 +03:00

qualcomm: Add SDM845

This commit is contained in:
Samuel Dionne-Riel 2019-11-30 20:43:50 -05:00
parent a047bdda03
commit 12c60710d9

View File

@ -37,6 +37,11 @@ in
default = false;
description = "enable when SOC is SDM660";
};
hardware.socs.qualcomm-sdm845.enable = mkOption {
type = types.bool;
default = false;
description = "enable when SOC is SDM845";
};
};
config = mkMerge [
@ -70,6 +75,11 @@ in
quirks.fb-refresher.enable = true;
};
}
{
mobile = mkIf cfg.qualcomm-sdm845.enable {
system.system = "aarch64-linux";
};
}
{
mobile = mkIf cfg.qualcomm-apq8064-1aa.enable {
system.system = "armv7l-linux";