The things I do when setting up a new Mac
-
Set up Touch ID
-
Install XCode command line tools with
xcode-select --install
-
Install homebrew
-
Install Brewfile with
brew bundle install --no-lock
-
Symlink (hard link)
hosts
to/etc/hosts
withsudo ln -f dotfiles/hosts /etc/hosts
-
Restore all
dotfiles
:gfind dotfiles -mindepth 1 -maxdepth 1 -type d | xargs -L1 -I{} basename "{}" | xargs stow --dotfiles --no-folding --target ~/ --dir dotfiles --verbose --adopt
-
Reset the repo
git reset .
-
Optional, on work computer:
brew bundle install --no-lock --verbose --file=Brewfile-work
-
Run
.macos
filesource .macos
-
Transfer
.gnupg
keyring and.ssh
key files -
Add
auth sufficient pam_tid.so
to/etc/pam.d/sudo
for biometricsudo
authentication -
﹗ Reboot
-
Configure 1Password and let it synch
-
Install and configure Dropbox and let it sync
Learn the YubiKey serial number and create the stubs to point to the GPG keyID and Yubikey Serial number
gpg --card-edit
# then in the gpg prompt:
# > fetch
# > verify
# > quit
gpg-connect-agent "scd serialno" "learn --force" /bye
gpg-connect-agent updatestartuptty /bye
- Configure Alfred and enable it for
⌘
-double tap - Enable sync via Dropbox
- Enable Settings Sync
- Remove
labelstags and clean up sidebar
- Apple TV Aerial Views Screen Saver
- Apple Watch
pam.d
auth plugin (pam_tid.so
needs to be first) - Apple watch screensaver
- Bartender
- Fantastical
- GPG Suite
- Hazel (and sync rules with Dropbox)
- Ledger Live
- LiteIcon
- Little Snitch
- MailSuite
- Micro Snitch
- Pock
- Raycast
- Rubitrack
- Shifty
- Stop the Madness
- TamperMonkey
- Termius
- Things
- Viscosity
- Add commonly used apps to the Dock
- Transfer iMessages history (
~/Library/Messages
) - Add email to lock message in
Security & Privacy
settings - Disable Siri system wide, and remove Siri button from touch bar
- Disable Fantastical Advanced setting
Go to today after adding items
- Block incoming port
80
using Little Snitch - Configure iMessage and Facetime to allow receiving text messages
This also works on iPad with iSH:
apk --update add stow gnupg gnupg-scdaemon
find dotfiles -mindepth 1 -maxdepth 1 -type d | xargs -I{} basename "{}" | xargs stow --dotfiles --target ~/ --dir dotfiles --no-folding --verbose --adopt