Managed with chezmoi.
./setup.shRun as your user — sudo is called internally where needed. Re-run at any time; all steps are idempotent.
install-linux.sh— re-run to update/install packages on LinuxBrewfile+brew bundle— manage packages on macOS
Add to ~/.config/chezmoi/chezmoi.toml to enable Colima/Docker socket configuration:
[data]
isWork = true- [Windows] Setup win-gpg-agent / https://github.com/demonbane/wsl-gpg-systemd
- Probably a bunch of other steps, it never works quite right
On work machines, add the following to ~/.config/chezmoi/chezmoi.toml to enable Colima/Docker socket configuration:
[data]
isWork = trueUseful commands:
brew bundle check || brew bundle install(macOS)brew bundle cleanup(macOS)chezmoi apply
- Make sure GPG is set up + key is fetched
gopass clone
https://chipsenkbeil.com/posts/applying-gpg-and-yubikey-part-2-setup-primary-gpg-key/
gpg --full-generate-key
Type: RSA and RSA (default)
Length: 4096
Valid for: 3y- Extend master expiry?
- Recreate subkeys
- add to card
gpg --expert --edit-key security@mattforster.ca
key 0
expire
key 0
addkey
key 1
keytocard
key 1
# repeat for other keys