25
submitted 2 days ago by [email protected] to c/[email protected]

Nixgl: https://github.com/nix-community/nixGL

Also, it seems like this requires the latest "stateversion", since this is a new feature.

This is pretty big, because it makes it easy to use applications that use the GPU from nixpkgs on non Nixos systems.

you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 2 points 1 day ago

Sorry for keeping you hanging, i actually got the idea from here you can ignore the nixgl stuff because that wouldn't be needed anymore, but the important part is building a derivation with those drivers in it, and then symlink those folders to /run. It should work with rocm/cuda as well but i haven't troed that yet. I've done some basic testing in a vm while i'm working on the config and so far for opengl stuff it has been working fine.

this post was submitted on 07 Jul 2025
25 points (96.3% liked)

Nix / NixOS

2332 readers
44 users here now

Main links

Videos

founded 2 years ago
MODERATORS