pub fn get_config_dir() -> Result<PathBuf, Error>
Gets the default configuration directory path.
Returns an error if the home directory cannot be determined.