mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-23 03:19:42 +01:00
chore: Activate nvidia powermanagement
This commit is contained in:
parent
82cf9ae3f6
commit
fc126177f6
1 changed files with 8 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue