mirror of
https://github.com/NixOS/nixos-hardware
synced 2025-03-25 23:25:14 +01:00
Enable hardware.nvidia.powerManagement
Update default.nix
This commit is contained in:
parent
262146dc76
commit
dc8f1fd6a8
1 changed files with 7 additions and 3 deletions
|
@ -12,10 +12,14 @@
|
||||||
|
|
||||||
hardware.amdgpu.loadInInitrd = lib.mkDefault false;
|
hardware.amdgpu.loadInInitrd = lib.mkDefault false;
|
||||||
|
|
||||||
hardware.nvidia.prime = {
|
hardware.nvidia = {
|
||||||
|
powerManagement.enable = lib.mkDefault true;
|
||||||
|
|
||||||
|
prime = {
|
||||||
amdgpuBusId = "PCI:6:0:0";
|
amdgpuBusId = "PCI:6:0:0";
|
||||||
nvidiaBusId = "PCI:1:0:0";
|
nvidiaBusId = "PCI:1:0:0";
|
||||||
};
|
};
|
||||||
|
};
|
||||||
|
|
||||||
services.thermald.enable = lib.mkDefault true;
|
services.thermald.enable = lib.mkDefault true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue