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.

  • moonpiedumplings@programming.devOP
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 months ago

    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.

    • Scio@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 months ago

      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!