26
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this post was submitted on 07 Jul 2025
26 points (96.4% liked)
Nix / NixOS
2809 readers
7 users here now
Main links
Videos
founded 3 years ago
MODERATORS
Yeah, but I only discovered it now.
Looking on github though, it looks like people combine builtins.map with this to wrap a bunch of packages at once though.
I'm also mapping the wrapper over a list and combining it with unmodified packages.
I suppose that is the Nix-y way, but I can't help but feel like it's a bit...manual? I always wondered if I should just wrap all of my home-manager packages that way!
Huh. The page was updated, reviewing it a year later. It does look like there is an option to automatically give GPU to all Nix/home-manager programs now. If you set
targets.genericLinux.enabletotrue, then it should work.Thanks for the heads up!
The new hostwide flag is very convenient. It probably won't work for me because I'm sticking to stock SteamOS for now, and it's very immutable. But I'm giving it a try asap!