Allow orca-slicer/bambu-slicer to work with Nvidia drivers

There was a patch to the upstream orca-slicer to add these overrides to the app-image build they provide (though I cant get their app-image to run under nixos, and would rather use the built in nix package)

I can get it running on nixos with wayland and nvidia by taking the changes and making a wrapper script:

$ cat orca.sh
export __GLX_VENDOR_LIBRARY_NAME=mesa
export __EGL_VENDOR_LIBRARY_FILENAMES=/nix/store/mdcrghy6cxi1924i2li2r4265lhrw737-mesa-25.0.6/share/glvnd/egl_vendor.d/50_mesa.json
export MESA_LOADER_DRIVER_OVERRIDE=zink
export GALLIUM_DRIVER=zink
export WEBKIT_DISABLE_DMABUF_RENDERER=1
orca-slicer

I’m not sure how we could conditionally set these when wayland and nvidia propriteary are present. If someone could guide me on where those settings might be or run with it, it’d appreciated it!

-Eric