https://github.com/otherguy/new-mac
https://github.com/otherguy/new-mac
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/otherguy/new-mac
- Owner: otherguy
- License: mit
- Created: 2021-01-08T00:40:16.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-04-04T12:15:35.000Z (over 3 years ago)
- Last Synced: 2025-02-12T12:35:45.688Z (over 1 year ago)
- Language: Shell
- Size: 28 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# đģ 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](https://brew.sh)
- [ ] Install [Brewfile](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`](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`](.macos) file `source .macos`
- [ ] Transfer `.gnupg` keyring and `.ssh` key files
- [ ] [Disable Ruby documentation parsing](http://mts.io/2015/04/19/fix-slow-gem-install/)
- [ ] Add `auth sufficient pam_tid.so` to `/etc/pam.d/sudo` for biometric `sudo` authentication
- [ ] Install [programming languages with `sh ./asdf.sh`](asdf.sh).
- [ ] īš Reboot
- [ ] Configure 1Password and let it synch
- [ ] Install and configure [Dropbox](https://www.dropbox.com/install) and let it sync
Learn the YubiKey serial number and create the stubs to point to the GPG keyID and Yubikey Serial number
```bash
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](https://www.alfredapp.com/) 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
- [ ] [Apple TV Aerial Views Screen Saver](https://github.com/JohnCoates/Aerial)
- [ ] [Apple Watch `pam.d` auth plugin](https://github.com/biscuitehh/pam-watchid) (`pam_tid.so` needs to be first)
- [ ] [Apple watch screensaver](http://www.rasmusnielsen.dk/applewatch/)
- [ ] [Bartender](https://www.macbartender.com/)
- [ ] [Fantastical](https://flexibits.com/fantastical)
- [ ] [GPG Suite](https://gpgtools.org)
- [ ] [Hazel](https://www.noodlesoft.com) (and sync rules with Dropbox)
- [ ] [Ledger Live](https://www.ledger.com/ledger-live)
- [ ] [LiteIcon](http://freemacsoft.net/liteicon/)
- [ ] [Little Snitch](https://www.obdev.at/products/littlesnitch/index.html)
- [ ] [MailSuite](https://smallcubed.com)
- [ ] [Micro Snitch](https://www.obdev.at/products/microsnitch/index.html)
- [ ] [Pock](https://pock.dev)
- [ ] [Raycast](https://raycast.com)
- [ ] [Rubitrack](https://www.rubitrack.com)
- [ ] [Shifty](https://shifty.natethompson.io/en/)
- [ ] [Stop the Madness](https://underpassapp.com/StopTheMadness/)
- [ ] [TamperMonkey](https://www.tampermonkey.net)
- [ ] [Termius](https://termius.com)
- [ ] [Things](https://culturedcode.com/things/)
- [ ] [Viscosity](https://www.sparklabs.com/viscosity/)
## 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](https://ish.app):
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