From 33a6809a8b4fc0b3072dd4b03c57f18e099ac3b6 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Thu, 23 Jun 2022 20:47:17 +0200 Subject: nvidia-gpu: enable power management --- system/settings/hardware/nvidia-gpu.nix | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'system') 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 = { -- cgit 1.4.1