Nixos - The NVIDIA driver was unable to open 'libnvidia-glvkspirv.so.510.60.02'. This library is required at run time

Hi I have enabled the nvidia driver on nixos, but when trying to launch elden ring I get this error about nvidia unable to open libnvidia, any ideas?

I guess you should rather ask the maintainer of the NixOS nvidia packages, like here:
https://forums.developer.nvidia.com/t/distro-packager-seeking-help-eglinfo-fails-for-x11-with-nvidia-gbm/202812