You can order the Mac mini with 10gbps networking and it has 3 thunderbolt 4 ports if you need more. Plus it has an internal power supply making it smaller than most of these mini PCs.
If I could get the same unit for like $299 I'd run it like that for my NAS too, as long as I could run a full backup to another device (and a 3rd on the cloud with Glacier of course).