I personally use an old self-built desktop running linux (TrueNAS and Windows also work). Getting a case with lots of drive bays is inexpensive. And it lets you do pretty much whatever you want with the NAS as it's a full blown computer. I always found the prices for the purpose built NAS to be shockingly high.