From 4ad2ef60c0f2db62874b712be518a0bad05803d9 Mon Sep 17 00:00:00 2001 From: Guanran Wang Date: Fri, 24 Nov 2023 22:37:51 +0800 Subject: [PATCH] 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 --- nixos/modules/hardware/gpu/nvidia.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/modules/hardware/gpu/nvidia.nix b/nixos/modules/hardware/gpu/nvidia.nix index 11d0e6d..240ad7f 100755 --- a/nixos/modules/hardware/gpu/nvidia.nix +++ b/nixos/modules/hardware/gpu/nvidia.nix @@ -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; };