machc-wa: updated the config to match up with the current common modules

This commit is contained in:
Emre Cebi authored and Emre Çebi committed 2026-03-19 02:31:21 +00:00
1 parent f8e82243fd
commit ca71a11256
2 files changed
+4 -5

No files matched your search

+2
View File
@@ -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.
Please also take a look at the `hardware.nvidia.primeBatterySaverSpecialisation ` to disable the dGPU to save battery.
+2 -5
View File
@@ -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;
}