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:
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 ];
|
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;
|
||||||
|
|
Loading…
Reference in a new issue