I had been struggling for a while to get CUDA on my main NixOS box for some ML programming. It seems there weren’t any clear solutions in the NixOS forums, which just suggested suffering through painful build times. Here’s my hacky, less Nix-y approach that takes ~5 minutes.
4 points
this is so timely ha. i just installed NixOS on my 4090 machine and was about to install CUDA.
2 points
3 points
name = “nvidia-fuck-you”;
Got a good chuckle out of me. As for buildFHSEnv
how does it work? Does it use chroot
and mount parts of /nix/store
into it?
3 points