base-files: config_generate: reformat for better readability and quote variables