News for hackers. Stuff that matters.
Re:Persistent packages on Steam Deck using Nix by worble on Sunday February 09, 2025 @02:29PM (#42993020)
Yeah, I just went through this process myself on steam deck and the fact it can't access opengl or vulkan natively makes anything that isn't terminal based a massive pain in the ass.

There is nixgl which you can wrap around any executable to make it work and it's got support in home-manager (https://nix-community.github.io/home-manager/options.xhtml#o...) but it's a huge annoyance having to wrap `config.lib.nixGL.wrap <package>` around everything you want to install.

Re:Persistent packages on Steam Deck using Nix by ahoemora on Sunday February 09, 2025 @06:54PM (#42995424)
It really depends on how you start your programs. If you wrap your compositor with nixgl then everything started through your compositior inherits the relevant env vars (LD_LIBRARY_PATH etc.) and you don't have to wrap the programs separately.