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:
parent
91380a8b3d
commit
f2bebaa5a3
@ -12,6 +12,11 @@ in
|
||||
default = false;
|
||||
description = "enable when SOC is APQ8064–1AA";
|
||||
};
|
||||
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";
|
||||
|
Loading…
Reference in New Issue
Block a user