Is there any way to hide the "Default domain" or stop it from being generated?
I generated my own template using the factoryBinding point from the org.nuxeo.ecm.platform.content.template.service.ContentTemplateService.
to see if my factoryBindings would overwrite the SimpleTemplateFactory, which creates the default-domain template, but it did not.
Is there a way to hide or not generate the “Default domain”?
I know there is a hiddenInNavigation facet, except that my new domain is also of domain doc type.
It seems to be ok about your contribution to this factoryBinding extension point (although you didn't put your code here).
You have to delete your data (and restart the server) in order to remove default-domain and if you have redefined the document type Domain structure you'll see your changes. You can create also a new domain by hand in the interface to confirm that your updates about document type Domain has been taken in account.
BE CAREFUL REMOVE CONTRIBUTION ONCE YOU FINISH YOUR TEST… This only for dev instance…
In addition, if the default domain is deleted and no other domains have been created, where are User Workspaces and Profiles stored?