public static function createConfig($home = null, $localHome = null)
    {
        if (null === $home) {
            $home = static::getHomedir();
        }

        $localConfig = [];

        $systemConfig = self::loadFileOrEmpty($home.'/.gush.yml');

        if (null !== $localHome) {
            $localConfig = self::loadFileOrEmpty($localHome.'/.gush.yml');
        }

        return new Config($home, $systemConfig, $localHome, $localConfig);
    }