News for hackers. Stuff that matters.
Re:Nvidia GPU on bare metal NixOS Kubernetes cluster explained by fangpenlin on Sunday March 02, 2025 @11:53PM (#43238425)
By the way, one of the problems I encountered but didn't mention in the article was that the libnvidia-container has problem with the pathes for reading nvidia drivers and libraries under NixOS with its non-POSIX pathes. I had to create a patch for modifying the path files. I just created a Gist here with the patch content:

https://gist.github.com/fangpenlin/1cc6e80b4a03f07b79412366b...

But later on, since I am taking the CDI route, it appears that the libnvidia-container (nvidia-container-cli) is not really used. If you are going with just container runtime approach instead of CDI, you may need a patch like this for the libnvidia-container package.

Re:Nvidia GPU on bare metal NixOS Kubernetes cluster explained by heywoodlh on Sunday March 02, 2025 @11:56PM (#43238437)
Oooo, thanks for the pointers! Will be revisiting this tomorrow!