Installing the contrib module Configuration Split and configure it to split local configurations.