Yeah, I went the NAS route and now I think I should have built my own server instead, like you did. I ended up adding an Intel NUC (with Linux Debian) which does all the work and the NAS is used for storage only. The NAS runs an extremely stripped-down version of Linux which was not flexible enough for my needs.