Create nixgl overlay?

Hi, im using flakes and i use nixgl, from input and i have an old machine (macbook pro 4,1 on Arch) that uses nvidia 340xx legacy, and i saw i need use nixgl from backports/noGLVND branch, how can I use two different versions of nixgl on inputs or overlay? From inputs not working…