chore: Activate nvidia powermanagement

This commit is contained in:
Kourosh Tafreshi authored and mergify[bot] committed 2023-11-21 09:32:36 +00:00
1 parent 82cf9ae3f6
commit fc126177f6
1 file changed
+8 -1
+8 -1
View File
@@ -1,4 +1,4 @@
{ lib,pkgs, ... }: {
{ lib, pkgs, ... }: {
imports = [ ../../../../common/gpu/nvidia/prime.nix ];
hardware = {
@@ -9,6 +9,13 @@
# Bus ID of the NVIDIA GPU.
nvidiaBusId = lib.mkDefault "PCI:1:0:0";
};
powerManagement = {
# Enable NVIDIA power management.
enable = lib.mkDefault true;
# Enable dynamic power management.
finegrained = lib.mkDefault true;
};
};
opengl = {
enable = lib.mkDefault true;