Personally I was a fan of buying something like a Dell optiplex as my my NAS and Pihole but I do wish I had a better enclosure for the drives as any truly good one seems to be hundreds of dollars and mildly defeats the idea of self hosting being cheaper.