Show HN: Flox – Nvidia CUDA available for the Nix ecosystem

7 ronef 0 9/10/2025, 8:24:01 PM flox.dev ↗
Hey Everyone! Ron here, part of the NixOS Foundation and building Flox. Just coming out of this years NixCon and pretty excited to show hn below :)

As of today, NVIDIA officially recognizes Canonical, SUSE, CIQ, and Nix—via Flox—as supported distributors for CUDA. Full blog - https://developer.nvidia.com/blog/developers-can-now-get-cud...

This is a huge win for the Nix community. For years, CUDA on Nix was possible but painful—builds could take hours, and redistributing prebuilt binaries was blocked by NVIDIA's licensing requirements.

NVIDIA's growing engagement with key Linux distributions reflects the company's evolution in working with open source communities. Now, for the first time, NVIDIA is allowing these vendors to package and serve the CUDA Toolkit and CUDA-accelerated packages directly from their package repositories.

That means Ubuntu users can get CUDA via `apt`, SUSE users via `zypper`, Rocky Linux users via `dnf`, and Nix users simply by declaring CUDA dependencies in their Nix expressions, `shell.nix` files, or flakes. Across all four platforms, developers can now pull in prebuilt, prepatched CUDA software—including huge packages like PyTorch, TensorFlow, TensorRT, OpenCV, ffmpeg, and more.

On Nix (my own bias showing), setup is straightforward: just add Flox's cache as an `extra-substituter` in your `nix.conf` or `configuration.nix`.

Comments (0)

No comments yet