diff options
author | Alan Pearce | 2022-06-23 20:47:17 +0200 |
---|---|---|
committer | Alan Pearce | 2022-06-23 22:38:23 +0200 |
commit | 33a6809a8b4fc0b3072dd4b03c57f18e099ac3b6 (patch) | |
tree | a24d0a715be042fb65e8f897142e5c67a4b1d681 /system/settings/hardware | |
parent | 65b59e85bc18323ef4efa99c69ee243256443550 (diff) | |
download | nixfiles-33a6809a8b4fc0b3072dd4b03c57f18e099ac3b6.tar.lz nixfiles-33a6809a8b4fc0b3072dd4b03c57f18e099ac3b6.tar.zst nixfiles-33a6809a8b4fc0b3072dd4b03c57f18e099ac3b6.zip |
nvidia-gpu: enable power management
Diffstat (limited to 'system/settings/hardware')
-rw-r--r-- | system/settings/hardware/nvidia-gpu.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/system/settings/hardware/nvidia-gpu.nix b/system/settings/hardware/nvidia-gpu.nix index b93b0284..3c099e42 100644 --- a/system/settings/hardware/nvidia-gpu.nix +++ b/system/settings/hardware/nvidia-gpu.nix @@ -9,6 +9,11 @@ in { services.xserver.videoDrivers = [ "nvidia" ]; }; environment.systemPackages = [ nvidia_x11 ]; + hardware.nvidia = { + powerManagement = { + enable = true; + }; + }; nixpkgs.config.allowUnfree = true; services.picom = { |