What would be a good LGA 1200 CPU for a NAS? Would an Intel Pentium Gold G6400 work? I'm trying to keep it quite low cost, as well as reusing some of my older parts, such as reusing my CX 430 and a 2x4gb kit of DDR4 ram. Would using these be feasible, or would I need something more?
What I'd like to use the NAS for is being able to access my files and such from uni while my PC/NAS is at home.
Yes, that CPU will be plenty. 8 GB of RAM will also be plenty for this.
I would look into running unraid as the operating system. It has a lot of flexibility and will let you start playing with things like docker containers which are a great way to start dabbling in the hobby of homelab.