Add import & export functionality for settings #244
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hello all together,
here are some more improvements. Don't know if they are wanted by any users but I've had wished they already existed for my purposes.
This request adds an import and export function for the settings, so a user has the ability to load an existing settings configuration for the installation which fits his needs. This is helpful if you have a configuration file, e.g. for VMs or your current environment and you want an easy option to set up your installation quickly without the needs of passing all the menu points.
With this in mind I've added a POSTINSTALL setting, which can be loaded to apply some configuration directly in the install process. This could be helpful if you want to have an easy option to configure your void installation that they fit your needs.
Especially this gives the ability to add other pre-prepared installation scripts later, e.g. to install and configure window managers, desktop environments, only with some additional scripts.
I think this could improve the usability especially for new Linux users. Void is an awesome distribution and I like to see it on more desktops. :D
However, with the current implementation security might be an issue, because the naive implementation of the file storing with root privileges! Just want to know if such a functionality is maybe required by some users.