A NUC won't have PCIe expansion slots. You are pretty much stuck with the external ports that come with it.
Re:The Cheapest NAS
by edmundsauto on Saturday July 06, 2024 @02:03PM
(#40892029)
It looks like some NUCs have M.2 adapter slots that allow PCIe. Seems possible to do with a NUC, you probably can't put 20 drives with it, but 12-16 extra drives sounds feasible.
https://www.reddit.com/r/intelnuc/comments/ibchlz/nuc_m2_sat...
The PC's PSU will need SATA power on its cables or else you'll need to scavenge a separate PSU and use the paper clip trick (or better yet, a purpose built connector) to get it to power things on without a motherboard connected.
Once you have all of that, then it's just a matter of housing the disks. People have done this with everything from threaded rod and plastidip to 3D printed disk racks to used enterprise JBOD enclosures (Just a Bunch Of Disks, no joke).
Total cost for this setup, excluding the disks, can easily be done for less than $200 if you're patient and look for local deals, like a Craiglist post for a bunch of old server hardware that says "free, just come haul it away".
Check or r/DataHoarder on reddit or ServeTheHome's blog