Warning: If you want to give these dotfiles a try, you should first fork this repository, review the code, and remove things you don’t want or need. Don’t blindly use my settings unless you know what that entails. Use at your own risk!
To install these dotfiles without Git (assumed as this this is designed for setting up a new machine):
# download
cd; curl -L https://github.com/PleaseStopAsking/bootstrap/tarball/main | tar -xzv --strip-components 1
# invoke for personal machine
./init.sh "configs/brewfile-personal" "Michael Hatcher" "replaceme@example.com" "Michael MacBook Air"
# invoke for work machine
./init.sh "configs/brewfile-work" "Michael Hatcher" "mhatcher@esri.com"When complete, there are a handful of remaining tasks left to complete manually until I can automate these as well.
-
Configure accounts
- System Preferences > Internet Accounts
- Apple ID
- Email Provider
- enable mail only
- System Preferences > Internet Accounts
-
Itsycal
- Launch at Login
- First day of week:
Monday - Hide Icon
- Format:
E MMM d h:mm a
-
Configure misc settings
- Finder
- Sidebar Items
- Favorites
- Applications
- Documents
- Downloads
- Movies
- Music
- Pictures
- iCloud
- iCloud Drive
- Shared
- Locations
- Connected Servers
- Favorites
- Sidebar Items
- Finder
-
VSCode
- Sign-in via GitHub to sync settings and extensions
-
Docker
- Sign-in to DockerHub
- Settings
- General
- Start Docker Desktop when you sign in to your computer:
Disabled - Open Docker Dashboard when Docker Desktop starts:
Disabled - Send usage statistics:
Disabled
- Start Docker Desktop when you sign in to your computer:
- Resources
- CPU Limit:
4 - Memory Limit:
4GB - Swap:
1GB
- CPU Limit:
- Software Updates
- Automatically check for updates:
Enabled - Always download updates:
Enabled
- Automatically check for updates:
- Notifications:
Disabled
- General
-
Safari
- Settings
-
Setup SSH Key (
only required if new key is needed)-
Create a new SSH key-pair
-
Upload public key to GitHub
-
Configure
~/.ssh/config# remove all leading whitespace from last line when copying into terminal or will fail tee ~/.ssh/config <<EOF Host * AddKeysToAgent yes UseKeychain yes IdentityFile ~/.ssh/id_ed25519 ServerAliveInterval 60 ServerAliveCountMax 240 Host exampleName01 HostName 192.168.4.46 User foo ForwardAgent yes Host exampleName02 HostName 192.168.4.71 User foo ForwardAgent yes EOF
-
-
Work Specific
- Setup PowerShell
./init.ps1 - Install Software
- SOPS
curl -LO https://github.com/getsops/sops/releases/download/v3.7.3/sops-v3.7.3.darwin.arm64 && chmod +x sops-v3.7.3.darwin.* && sudo mv sops-v3.7.3.darwin.* /usr/local/bin/sops
- SOPS
- Setup PowerShell
-
Setup Azure access
Connect-AzAccount # rename contexts to easier to use names as necessary Rename-AzContext -SourceName 'preChange' -TargetName 'postChange'