Use Brewfile, topgrade to keep everything in sync
Setup Brew on MacOS and run these commands:
brew install chezmoi 1password-cliLogin to 1Password account.
Then run the following:
chezmoi init frezbo
chezmoi applyThen run brew bundle --global install
Then plug in the YubiKey and run gpg --card-status and retrieve the key via gpg --card-edit followed by fetch.
Then retrieve the resident ssh keys by running
ssh-keygen -K
mv id_ed25519_sk.pub ~/.ssh/git.pub
mv id_ed25519_sk ~/.ssh/gitAlso run git config remote.origin.pushurl git@github.com:frezbo/dotfiles.git so we use ssh for pushes.
This should setup all the required dot files.
At last run to set generate the ssh config file.
Run assh config build > ~/.ssh/config
Verify GitHub login via ssh -T git@github.com