My personal dotfiles managed with chezmoi.
chezmoi
installed on your machine
The profiles determine which packages to install when applying the dotfiles. You can find categories included in each profiles in home/.chezmoidata/profiles.yaml
.
personal
: setup including all packages I find useful for my personal PCwork
: setup including useful packages for work (a subset ofpersonal
)vps
: minimal setup including useful CLI packages
chezmoi init ArmandPhilippot
You'll be asked to fill in some information in order to apply the dotfiles and install the packages:
- the profile to load (to determine the packages to install)
- your full name (used with Git)
- the email you use with Git
- the GPG signing key to use with this email
For the same reasons described on: https://dotfiles.github.io/
Why would I want my dotfiles on GitHub?
- Backup, restore, and sync the prefs and settings for your toolbox. Your dotfiles might be the most important files on your machine.
- Learn from the community. Discover new tools for your toolbox and new tricks for the ones you already use.
- Share what you’ve learned with the rest of us.
The dotfiles reside in the home
directory of this repository.
I try to comply to the XDG Base Directory specification as much as possible to limit the amount of files in $HOME
. I'm also using some unofficial XDG variables following the Home directory hierarchy.
Var | Repo | Linux | Description |
---|---|---|---|
HOME |
./home |
~/ |
Other files in $HOME |
XDG_BIN_HOME |
./home/dot_bin/ |
~/.local/bin |
Binaries (Unofficial) |
XDG_CACHE_HOME |
./home/dot_cache/ |
~/.cache |
Cache |
XDG_CONFIG_HOME |
./home/dot_config/ |
~/.config |
Config |
XDG_DATA_HOME |
./home/dot_data/ |
~/.local/share |
Data |
XDG_LIB_HOME |
./home/dot_lib/ |
~/.local/lib |
Libraries (Unofficial) |
XDG_STATE_HOME |
./home/dot_state/ |
~/.local/state |
State |
For most of the dotfiles, I don't see the interest to put them under a license so you can do whatever you want with them.
There are some exceptions:
- convto is licensed under the MIT license
- new-vhost is licensed under the MIT license
- fuzbat is only adapted by me so the credit goes to Casey Brant. I don't see a license but maybe I'm wrong.
- the various Git submodules include their own license:
- nvm is licensed under the MIT license