From 19960c426dc6797ec7341a04ee3287bb29f95c08 Mon Sep 17 00:00:00 2001 From: Aidan Gauland Date: Mon, 3 Jun 2024 10:11:26 +1200 Subject: [PATCH] nixos/nvidia: revert libXNVCtrl changes This library does not actually need to match the Nvidia driver version, so we do not need to make it available impurely. This reverts the following commits. 9b3461e7ae40cfab93ff21e5ca263b97fa05888e 4e353b67f667766b1c6489f23c20b920ab0c82f5 --- nixos/modules/hardware/video/nvidia.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/hardware/video/nvidia.nix b/nixos/modules/hardware/video/nvidia.nix index 2091d45d494b..3caec769400c 100644 --- a/nixos/modules/hardware/video/nvidia.nix +++ b/nixos/modules/hardware/video/nvidia.nix @@ -285,7 +285,7 @@ in KERNEL=="nvidia_uvm", RUN+="${pkgs.runtimeShell} -c 'mknod -m 666 /dev/nvidia-uvm-tools c $$(grep nvidia-uvm /proc/devices | cut -d \ -f 1) 1'" ''; hardware.opengl = { - extraPackages = [ nvidia_x11.out ] ++ (lib.optional (builtins.hasAttr "libXNVCtrl" nvidia_x11.settings) nvidia_x11.settings.libXNVCtrl); + extraPackages = [ nvidia_x11.out ]; extraPackages32 = [ nvidia_x11.lib32 ]; }; environment.systemPackages = [ nvidia_x11.bin ];