allow overriding hardware.nvidia values

This commit is contained in:
Elec3137 2026-02-04 12:25:48 -08:00
commit 44532f1cdd

View file

@ -17,7 +17,7 @@ in
# enable nvidia drivers (not just for xorg!) # enable nvidia drivers (not just for xorg!)
services.xserver.videoDrivers = [ "nvidia" ]; services.xserver.videoDrivers = [ "nvidia" ];
hardware.nvidia = { hardware.nvidia = lib.mkDefault {
# Nvidia power management. Experimental, and can cause sleep/suspend to fail. # Nvidia power management. Experimental, and can cause sleep/suspend to fail.
# Enable this if you have graphical corruption issues or application crashes after waking # Enable this if you have graphical corruption issues or application crashes after waking
# up from sleep. This fixes it by saving the entire VRAM memory to /tmp/ instead # up from sleep. This fixes it by saving the entire VRAM memory to /tmp/ instead