1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-12-27 20:19:45 +01:00

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,9 +12,13 @@
hardware.amdgpu.loadInInitrd = lib.mkDefault false;
hardware.nvidia.prime = {
amdgpuBusId = "PCI:6:0:0";
nvidiaBusId = "PCI:1:0:0";
hardware.nvidia = {
powerManagement.enable = lib.mkDefault true;
prime = {
amdgpuBusId = "PCI:6:0:0";
nvidiaBusId = "PCI:1:0:0";
};
};
services.thermald.enable = lib.mkDefault true;