Using the config module could be a good way to do so. It provides a struct of type config_t (that is designed to be extended) and system dependent implementations for writing this struct to non-volatile memory (config_save()).