is there any way we can avoid re-defining this? domain is specified in user.yaml and config.yaml and it should probably just be in one of them.