My personal dotfiles.
You will find my dotfiles in the
chezmoi
directory.
- Chezmoi
- Arch Linux or MacOS
SECRETS_OFF=1 environment variable. If you do not use this flag,
chezmoi will fail when attempting to connect to my 1Password account
¯\_(ツ)_/¯.
SECRETS_OFF=1 chezmoi init https://github.com/benmezger/dotfiles.git -S ~/dotfilesI recommend using my .dotfiles as a reference rather than applying
them directly. They contain many personal configurations that may not
suit your setup, and some depend on specific files, packages, and
directory structures (e.g. org-mode files in Emacs).
Use chezmoi to apply the dotfiles:
chezmoi apply -vThe following environment variables can be used to configure chezmoi
during initialization and when applying changes:
ASK: Set to1to enable prompts inchezmoi.SECRETS_OFF: Set to1to disable 1Password integration (uses my personal secrets defined in.chezmoi.yaml).DOTFILES_MINIMAL: Set to1to install the minimal version of the dotfiles.WORKCONF: Set to1to enable work-related configurations (e.g., work email, etc.).LAPTOP_MODE: Set to1when running on a laptop and not desktop.
For example, run ASK=1 chezmoi apply to enable prompts or
DOTFILES_MINIMAL=1 chezmoi apply to generate the minimal
configuration.
Run chezmoi init <dotfiles-path> again. This will reload the
configuration by regenerating chezmoi.yaml in
$HOME/.config/chezmoi/chezmoi.yaml.
- Feel free to contribute and/or report any issues.



