Enable hardware.nvidia.powerManagement

Update default.nix
This commit is contained in:
ChaosAttractor 2022-12-16 08:00:42 +08:00
parent 262146dc76
commit dc8f1fd6a8

View file

@ -12,10 +12,14 @@
hardware.amdgpu.loadInInitrd = lib.mkDefault false;
hardware.nvidia.prime = {
hardware.nvidia = {
powerManagement.enable = lib.mkDefault true;
prime = {
amdgpuBusId = "PCI:6:0:0";
nvidiaBusId = "PCI:1:0:0";
};
};
services.thermald.enable = lib.mkDefault true;
}