From 0d5fc6d0052ff2b655e243be16b9049f3dc7b0f4 Mon Sep 17 00:00:00 2001 From: Guanran Wang Date: Mon, 1 Jan 2024 15:33:23 +0800 Subject: [PATCH] nixos: use newer version of nvidia driver --- nixos/profiles/common/core/default.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/nixos/profiles/common/core/default.nix b/nixos/profiles/common/core/default.nix index 072291e..591410e 100644 --- a/nixos/profiles/common/core/default.nix +++ b/nixos/profiles/common/core/default.nix @@ -78,9 +78,8 @@ "[ 5.996722] amdgpu 0000:67:00.0: Fatal error during GPU init"} ''; - hardware.nvidia.nvidiaSettings = false; - ### WORKAROUND: Revert to NVIDIA version 470.223.02 due to performance issues in version 545.29.06, + ### WORKAROUND: Revert to NVIDIA version 535.146.02 due to performance issues introduced in version 545.29.06, # this shouldn't affect non-nvidia machines. - nixpkgs.config.nvidia.acceptLicense = true; - hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.legacy_470; + hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.production; + hardware.nvidia.nvidiaSettings = false; }