Skip to content

otherguy/new-mac

Repository files navigation

💻 New Mac

The things I do when setting up a new Mac

Initial setup

  • 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 with sudo 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 file source .macos

  • Transfer .gnupg keyring and .ssh key files

  • Disable Ruby documentation parsing

  • Add auth sufficient pam_tid.so to /etc/pam.d/sudo for biometric sudo authentication

  • Install programming languages with sh ./asdf.sh.

  • ﹗ 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

Alfred

  • Configure Alfred and enable it for -double tap
  • Enable sync via Dropbox

Visual Studio Code

  • Enable Settings Sync

Finder

  • Remove labels tags and clean up sidebar

Install and configure

Dock

  • Add commonly used apps to the Dock

Other

  • 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

iPad

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published