all repos — nixfiles @ 33a6809a8b4fc0b3072dd4b03c57f18e099ac3b6

System and user configuration, managed by nix and home-manager

nvidia-gpu: enable power management

Alan Pearce
commit

33a6809a8b4fc0b3072dd4b03c57f18e099ac3b6

parent

65b59e85bc18323ef4efa99c69ee243256443550

1 file changed, 5 insertions(+), 0 deletions(-)

jump to
M system/settings/hardware/nvidia-gpu.nixsystem/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 = {