function readConfigFile (ipfsd) {
  return fs.readJsonSync(getConfigFilePath(ipfsd))
}
Reads the repository configuration file.

@param {import('ipfsd-ctl').Controller} ipfsd
@returns {any} the configuration