/dotfiles

Primary LanguageShell

Dotfiles

Calogero Lo Leggio’s dotfiles, managed with =chezmoi=.

Modules

  • personal: sensitive/secret data
  • ssh: manage configs and keys
  • starship: cross-shell prompt
  • emoji: file and service (used in starship)

Install

Install them with:

chezmoi init kalos

Software required:

- chezmoi
- sudo
- git [auto-install on debian/arch]
- age (only if 'personal' module is true)
- bitwarden-cli [bw] (only if 'personal' module is true)

archlinux

sudo pacman -Sy sudo chezmoi git age bitwarden-cli

debian

sudo apt install sudo chezmoi git age

bitwarden CLI:

TMP_BWCLI=$(mktemp -d)
wget https://github.com/bitwarden/clients/releases/download/cli-v2022.10.0/bw-linux-2022.10.0.zip -O "${TMP_BWCLI}/bw.zip"
pushd "${TMP_BWCLI}"
unzip bw.zip
chmod +x bw
sudo mv bw /usr/local/bin/
popd
rm -fr ${TMP_BWCLI}

Notes

Notes for security:

  • sensitive data, with visible filename, are encrypted with age
  • secret data are sync with bw/syncthing