- Chezmoi
- Archlinux or OSX
Note: You need to set the env
variable SECRETS_OFF=1
to disable
1password. Not passing will make chezmoi fail when connecting to my 1password
account ¯_(ツ)_/¯.
The following environment variables can be set to configure chezmoi when applying changed:
ASK
: Set to1
if you want to enable chezmoi promptSECRETS_OFF
: Set to1
to enable 1Password (uses my personal secrets set in.chezmoi.yaml
)DOTFILES_MINIMAL
: Set to1
if you want to install the minimal versionWORKCONF
: Set to1
to enable work configuration (work email, etc)
For example: ASK=1 chezmoi apply
to enable prompt or DOTFILES_MINIMAL=1 chezmoi apply
for applying the minimal version.
SECRETS_OFF=1 chezmoi init https://github.com/benmezger/dotfiles.git -S ~/dotfiles
The minimal version installs only the essentials.
- zsh
- git
- vim
- emacs
- tmux
- curl
- alacritty
- neovim
- user-dirs
- editorconfig
- dircolors
SECRETS_OFF=1 DOTFILES_MINIMAL=1 chezmoi init https://github.com/benmezger/dotfiles.git -S ~/dotfiles
You can clone this repository and use the Makefile to apply the changes + install dependencies.
make apply or make all
make fix-permissions
make install-required-dependencies
make install-extra-dependencies
make install-pyenv
make install-go-dependencies
make install git-dependencies
make configure-osx
make configure-linux
fn + cmd - e
- opens emacsfn + cmd - i
- opens firefoxfn + cmd - f
- opens finder in $HOMEcmd + return
- opens alacritty
fn + cmd - f1
- mpc playfn + cmd - f2
- mpc pausefn + cmd - f3
- mpc prevfn + cmd - f4
- mpc nextfn + cmd - f5
- mpc volume -10fn + cmd - f6
- mpc volume +10
Run chezmoi init <dotfiles-path>
again. This should reload the configuration
by copying chezmoi.yaml to $HOME/.config/chezmoi/chezmoi.yaml
.
For some reason, i3 is sourcing .xprofile
instead of xinitrc
, so for
getting Github plugin for the i3status-rust you need to set up a variable in
your .xprofile
export I3RS_GITHUB_TOKEN="your-github-token"
- Feel free to contribute and/or report issues.