I've used a HP EliteDesk 800 G4 SFF (with an i5-8500) as a NAS/home server for several years now. It's quiet, power efficient, has space for 2 HDDs plus additional nvme slots and regular PCI-e slots. These type of machines are cheap to get on eBay, I highly recommend getting one.