nvidia-gpu: enable power management
Alan Pearce alan@alanpearce.eu
Thu, 23 Jun 2022 20:47:17 +0200
1 files changed, 5 insertions(+), 0 deletions(-)
M system/settings/hardware/nvidia-gpu.nix → system/settings/hardware/nvidia-gpu.nix
@@ -9,6 +9,11 @@ extraModulePackages = [ nvidia_x11 ]; }; environment.systemPackages = [ nvidia_x11 ]; + hardware.nvidia = { + powerManagement = { + enable = true; + }; + }; nixpkgs.config.allowUnfree = true; services.picom = {