Skip to content

Commit 2064f6c

Browse files
committed
machc-wa: updated the config to match up with the current common modules
1 parent a351494 commit 2064f6c

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

huawei/machc-wa/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
# Huawei Matebook X Pro (2020)
22

3-
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.
3+
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.
4+
5+
Please also take a look at the `hardware.nvidia.primeBatterySaverSpecialisation ` to disable the dGPU to save battery.

huawei/machc-wa/default.nix

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,19 @@
77
{
88
imports = [
99
../../common/cpu/intel/comet-lake
10-
../../common/gpu/nvidia
10+
../../common/gpu/intel/comet-lake
11+
../../common/gpu/nvidia/pascal
1112
../../common/gpu/nvidia/prime.nix
12-
../../common/hidpi.nix
1313
../../common/pc/laptop
1414
../../common/pc/ssd
1515
];
1616

1717
hardware.nvidia = {
1818
modesetting.enable = lib.mkDefault true;
19-
open = lib.mkDefault false;
2019
nvidiaSettings = lib.mkDefault true;
2120
prime = {
2221
intelBusId = "PCI:0:2:0";
2322
nvidiaBusId = "PCI:1:0:0";
2423
};
2524
};
26-
27-
services.power-profiles-daemon.enable = lib.mkDefault true;
2825
}

0 commit comments

Comments
 (0)