My personal dotfiles managed using chezmoi
-
Install dependencies:
openssh chezmoi fish starship vivid fzf bat fd ripgrep eza bat-extras broot procs atuin git-delta bitwarden-cli awk
-
Create the bitwarden item
Create a bitwarden item called "chezmoi" with the following:
Fields:
-
git_signing_key_id
The gpg signing key id used to fill the
signingKey
git setting -
gpg_passphrase
The passphrase of the git gpg key
Attachments:
- ssh private key (default to
id_rsa
) - ssh public key (default to
id_rsa.pub
) - gpg key (default to
gpg.key
)
-
-
Ensure the dependencies are installed:
-
Login to bitwarden and set the
BW_SESSION
variable:bw login bw unlock export BW_SESSION=<session-key> # bash set -x BW_SESSION <session-key> # fish
session key is displayed when issuing
bw unlock
-
Init chezmoi repo:
chezmoi init gazorby/dotfiles
-
Adjust
~/.config/chezmoi/chezmoi.toml
according to your needs -
Apply dotfiles
chezmoi apply