nixos/nvidia: make libXNVCtrl available on nvidia systems

This commit is contained in:
Aidan Gauland 2024-05-19 18:00:51 +12:00
parent b57aa88291
commit 4e353b67f6
No known key found for this signature in database
GPG Key ID: 16E68DD2D0E77C91

View File

@ -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 ];
extraPackages = [ nvidia_x11.out nvidia_x11.settings.libXNVCtrl ];
extraPackages32 = [ nvidia_x11.lib32 ];
};
environment.systemPackages = [ nvidia_x11.bin ];