Home
Patrick Quinn-Graham edited this page Nov 12, 2023
·
15 revisions
- Install initial OS updates
- Enable FileVault (System Preferences -> Security & Privacy -> FileVault -> Turn On FileVault...; System Settings -> Privacy & Security -> FileVault -> Turn On...)
- Set the machine hostname (in System Preferences -> Sharing -> Name; System Settings -> General -> About)
- Enrol the machine in JumpCloud (a profile can be found in
~/Documents/Setup/
)- Once enrolled, bind users as needed from the JumpCloud console.
- Grab the panic terminal theme from
~/Documents/Setup/Panic Palette.terminal
- If needed you can get this from Panic, unzip that.
- Right click & choose Open.
- Open Terminal Preferences, choose Profiles, click Panic Palette and then Default.
- Install Homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
- Wait for iCloud Drive to sync enough of Documents that
~/Documents/Setup/Brewfiles
is ready, and then in Terminal:cd ~/Documents/Setup/Brewfiles/$(hostname) brew bundle install
- Setup Secretive
- Create a key for this machine
- Add the public key to JumpCloud
- Add the public key to Github
- Run Ansible
mkdir ~/Developer cd ~/Developer git clone https://github.com/thepatrick/inventory.git cd inventory # Write a file "vault_password", the value is in 1Password # Install ansible galaxy roles ./ansible-galaxy.sh # Run ansible. Create the "ansible-$HOSTNAME.sh" script if required. ./ansible-(hostname).sh --ask-become-pass
- Enable fish as the shell (
/opt/homebrew/bin/brew
is correct for Apple Silicon)echo $(/opt/homebrew/bin/brew --prefix)/bin/fish | sudo tee -a /etc/shells chsh -s $(/opt/homebrew/bin/brew --prefix)/bin/fish
- Start a new terminal
- Install a version of node:
nvm install latest
, and then set that as the default (e.g.set --universal nvm_default_version v21.1.0
) - Login to Visual Studio Code (insiders channel, using GitHub) to allow sync of configuration.
- Add /Applications and $HOME to Dock, set to Display as Folder.
- System Preferences Time
- Set Wallpaper
- Lock Screen -> Require password: Immediately
- Apple ID -> iCloud (primary):
- Disable: Contacts, Calendars
- Turn on: Photos (unless small drive), Mail, iCloud Drive (including Documents & Desktop), Reminders, Safari, Notes, Siri, Keychain, Find My mac, Home
- Internet Accounts
- Add secondary iCloud account. Enable Contacts, Calendars, Reminders. Disable: Mail, Notes
- Desktop & Dock -> Click wallpaper to reveal desktop: Only in Stage Manager
- Finder
- Preferences -> New Finder windows show: $HOME
- Show Statusbar (
cmd + /
)
- Dock
- Remove Siri, LaunchPad, Contacts, Calendar, Notes, Reminders, Maps, FaceTime, Pages, Numbers, Keynote, News, Music, Podcasts, TV, App Store, System Preferences
- Add Visual Studio Code, Terminal
- Music
- Sign out of iCloud account, sign as desired user.
- Calendar
- Preferences -> General -> Default Calendar: Personal (on secondary iCloud account)
- Activity Monitor
- Go to the menu bar, and choose View -> Dock Icon -> CPU History.
- Setup Tailscale
- Delete GarageBand, iMove, Keynote, Numbers, Pages
- Disable Photos in iCloud
- Install required Visual Studio Code extensions
code-insiders --install-extension github.github-vscode-theme code-insiders --install-extension ms-vscode-remote.vscode-remote-extensionpack
- Open Visual Studio Code, and open settings.json:
{ "remote.SSH.showLoginTerminal": true, "terminal.integrated.env.osx": { "SSH_AUTH_SOCK": "/Users/patrick/.gnupg/S.gpg-agent.ssh" }, "editor.minimap.enabled": false, "editor.tabSize": 2, "workbench.colorTheme": "GitHub Light", "window.nativeTabs": true, "window.doubleClickIconToClose": true, "go.formatTool": "goimports", "go.useLanguageServer": true, "C_Cpp.updateChannel": "Insiders", "window.titleBarStyle": "native", "codespaces.accountProvider": "GitHub", "editor.suggestSelection": "first", }