From 8639bcc47091329eb98b83bfd83da3a2fb1d0f62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tristan=20Dani=C3=ABl=20Maat?= Date: Mon, 19 Feb 2024 22:42:58 +0100 Subject: [PATCH] yui: Update nvidia --- nixos-config/yui/nvidia/default.nix | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/nixos-config/yui/nvidia/default.nix b/nixos-config/yui/nvidia/default.nix index 0ceee9c4..162075be 100644 --- a/nixos-config/yui/nvidia/default.nix +++ b/nixos-config/yui/nvidia/default.nix @@ -1,4 +1,5 @@ { + pkgs, config, lib, ... @@ -8,10 +9,19 @@ ]; hardware.nvidia = { + package = config.boot.kernelPackages.nvidiaPackages.mkDriver { + version = "550.54.14"; + sha256_64bit = "sha256-jEl/8c/HwxD7h1FJvDD6pP0m0iN7LLps0uiweAFXz+M="; + sha256_aarch64 = "sha256-sProBhYziFwk9rDAR2SbRiSaO7RMrf+/ZYryj4BkLB0="; + openSha256 = "sha256-F+9MWtpIQTF18F2CftCJxQ6WwpA8BVmRGEq3FhHLuYw="; + settingsSha256 = "sha256-m2rNASJp0i0Ez2OuqL+JpgEF0Yd8sYVCyrOoo/ln2a4="; + persistencedSha256 = "sha256-XaPN8jVTjdag9frLPgBtqvO/goB5zxeGzaTU0CdL6C4="; + }; + # The current stable nvidia driver is utterly broken. Use # production for now to work around stuff like this: # https://forums.developer.nvidia.com/t/535-86-05-low-framerate-vulkan-apps-stutter-under-wayland-xwayland/26147 - package = config.boot.kernelPackages.nvidiaPackages.production; + # package = config.boot.kernelPackages.nvidiaPackages.production; modesetting.enable = true; # Power management is required to get nvidia GPUs to behave on # suspend, due to firmware bugs. Aren't nvidia great?