Nvidia Legacy

I need the nvidia 340 driver. Where can I get it and why isn’t it in the repo?

You need to get it from nvidia directly. However I am not sure if it works with the kernel and X-Server provided by Netrunner.
It isn’t provided in the repo potentially because it does not work or is supported.