Use packages, that’s what they are for. Separating your entire configuration into packages that do different things.