managed by chezmoi.
Run these steps in order.
sudo scutil --set HostName your-macbook-name
sudo scutil --set LocalHostName your-macbook-name # no .local suffix
sudo scutil --set ComputerName your-macbook-name/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
eval "$(/opt/homebrew/bin/brew shellenv)"brew install gnupg chezmoiPlug in your YubiKey, then:
curl -fsSL https://github.com/rista404.gpg -o /tmp/rista404.gpg
gpg --import /tmp/rista404.gpg
rm /tmp/rista404.gpg
gpgconf --kill all
gpg --card-statusssh-keygen -t ed25519 -C "$(hostname)"
ssh-add --apple-use-keychain ~/.ssh/id_ed25519
cat ~/.ssh/id_ed25519.pubAdd the printed key to GitHub SSH keys.
chezmoi init --apply rista404This clones the repo and applies all dotfiles. It will also run the post-install script which installs all packages from Brewfile, sets fish as default shell, installs Rust and Node.js.