pub fn write_user_config(config: &Config) -> Result<(), Error>
Writes the user-specific configuration to disk.