Linux differs from other operating systems in how most applications are configured - through files. Using text for configuration might seem as a step-back, however, GUI configurations were never a progression.
Having applications configured through text has a couple of advantages:
- Portable - any computer which can install that application can have the same configuration.
- The light level of configuration - some Linux distributions, such as NixOS, offer a system level configuration. However, this would invalidate the first point, and the level of configuration would be potentially limited through the configuration of the distribution.
- The
stow
method is minimal and re-uses packaging software for dotfiles.
Your dotfiles in Git
In order to have portable dotfiles, you need a method of update & transport. For that, you can use Git.
To set up your dotfiles for the first time:
|
|
Inside the .dotfiles
directory, create your configuration files:
|
|
Installing Your Dotfiles
To install your configurations on a new Linux install:
|
|
Now you would have your files linked in your home directory:
|
|
Enjoy!