mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2026-11-30 13:03:30 +01:00
machc-wa: updated the config to match up with the current common modules
This commit is contained in:
1 parent
f8e82243fd
commit
ca71a11256
2 files changed
+5
-6
No files matched your search
@@ -1,3 +1,5 @@
|
||||
# Huawei Matebook X Pro (2020)
|
||||
|
||||
This is a very standard device that needs little configuration. The module mainly imports the common modules for its CPU, GPU, SSD etc. and enables ppd for power management. Nvidia prime offload is also enabled. This configuration should work with all Matebook X Pro models from 2020 (MACHC-WA*) other than MACHC-WAH9L as it does not contain the Nvidia GPU.
|
||||
This is a very standard device that needs little configuration. The module mainly imports the common modules for its CPU, GPU, SSD etc. and enables ppd for power management. Nvidia prime offload is also enabled. This configuration should work with all Matebook X Pro models from 2020 (MACHC-WA*) other than MACHC-WAH9L as it does not contain the Nvidia GPU.
|
||||
|
||||
Please also take a look at the `hardware.nvidia.primeBatterySaverSpecialisation ` to disable the dGPU to save battery.
|
||||
@@ -7,22 +7,19 @@
|
||||
{
|
||||
imports = [
|
||||
../../common/cpu/intel/comet-lake
|
||||
../../common/gpu/nvidia
|
||||
../../common/gpu/intel/comet-lake
|
||||
../../common/gpu/nvidia/pascal
|
||||
../../common/gpu/nvidia/prime.nix
|
||||
../../common/hidpi.nix
|
||||
../../common/pc/laptop
|
||||
../../common/pc/ssd
|
||||
];
|
||||
|
||||
hardware.nvidia = {
|
||||
modesetting.enable = lib.mkDefault true;
|
||||
open = lib.mkDefault false;
|
||||
nvidiaSettings = lib.mkDefault true;
|
||||
prime = {
|
||||
intelBusId = "PCI:0:2:0";
|
||||
nvidiaBusId = "PCI:1:0:0";
|
||||
};
|
||||
};
|
||||
|
||||
services.power-profiles-daemon.enable = lib.mkDefault true;
|
||||
}
|
||||
Reference in new issue
Block a user