Deploying to live and available modules In Drupal 8 you can export configuration and move that to a production server. In core.extensions.yml there is an exported list of the enabled modules. If on development I have devel and other auxiliary modules installed these are added in that file but I do not want that to be part of the production environment.

Is there a switch to do that? How can master module from Drupal 7 replicated here?
I think there is not really a good option for this yet.

It's tricky, because you can't just override the config and have those modules enabled since they also provide their config (which would and install/uninstall processes that can't be skipped. In fact, providing config overrides for core.extension is explicitly prevented.

Maybe someone will come up with a good way to do this, I currently don't really know how that should work.