1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-26 21:09:42 +01:00

chore: Activate nvidia powermanagement

This commit is contained in:
Kourosh Tafreshi 2023-11-20 16:24:27 +02:00 committed by mergify[bot]
parent 82cf9ae3f6
commit fc126177f6

View file

@ -1,4 +1,4 @@
{ lib,pkgs, ... }: { { lib, pkgs, ... }: {
imports = [ ../../../../common/gpu/nvidia/prime.nix ]; imports = [ ../../../../common/gpu/nvidia/prime.nix ];
hardware = { hardware = {
@ -9,6 +9,13 @@
# Bus ID of the NVIDIA GPU. # Bus ID of the NVIDIA GPU.
nvidiaBusId = lib.mkDefault "PCI:1:0:0"; 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 = { opengl = {
enable = lib.mkDefault true; enable = lib.mkDefault true;