1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-13 20:44:52 +03:00

hardware-qualcomm: Add msm8940

This commit is contained in:
Samuel Dionne-Riel 2020-12-28 04:49:56 -05:00
parent 91380a8b3d
commit f2bebaa5a3

View File

@ -12,6 +12,11 @@ in
default = false;
description = "enable when SOC is APQ80641AA";
};
hardware.socs.qualcomm-msm8940.enable = mkOption {
type = types.bool;
default = false;
description = "enable when SOC is msm8940";
};
hardware.socs.qualcomm-msm8953.enable = mkOption {
type = types.bool;
default = false;
@ -45,6 +50,12 @@ in
};
config = mkMerge [
{
mobile = mkIf cfg.qualcomm-msm8940.enable {
system.system = "aarch64-linux";
quirks.fb-refresher.enable = true;
};
}
{
mobile = mkIf cfg.qualcomm-msm8939.enable {
system.system = "aarch64-linux";