If you’re just going to be using it to sync files, then I’d recommend Seafile instead. It’s far more reliable than Nextcloud, and significantly faster to sync. It’s also smarter about just syncing the changes in files, rather than resyncing the entire file if any changes are made.