nixos, modules, hardware, nvidia: downgrade to nvidia 470

with nvidia's latest driver (545.29.02), games behave extremely laggy when fps is not limited (for example. vsync is disabled)
this commit temporarily reverts nvidia driver to version 470
This commit is contained in:
Guanran Wang 2023-11-24 22:37:51 +08:00
parent a85dcfc3ff
commit 4ad2ef60c0
Signed by: nyancat
SSH key fingerprint: SHA256:8oWGKciPALWut/6WA27oFKofX+6Wtc0gQnsefXLQx/8

View file

@ -22,9 +22,9 @@ in {
# Load nvidia driver for Xorg and Wayland
services.xserver.videoDrivers = ["nvidia"];
#nixpkgs.config.nvidia.acceptLicense = true;
nixpkgs.config.nvidia.acceptLicense = true;
hardware.nvidia = {
#package = config.boot.kernelPackages.nvidiaPackages.legacy_470;
package = config.boot.kernelPackages.nvidiaPackages.legacy_470;
modesetting.enable = true;
};