Personal macOS development environment configuration.
./setup.sh <hostname> # Where <hostname> is your desired hostname for
# your system, e.g. "rays-macbook-pro"The setup.sh $1 script takes care of everything:
- Setting macOS hostname to
$1 - Setting macOS defaults (firewall on, stealthmode, etc.)
- Installing Xcode dev tools and Rosetta
- Show finder hidden files by default
- Installing brew and development dependencies & tools
- Installing a bunch of fonts
- Installing zprezto
- Installing nix via DetSys Nix Installer
- Installing
python3.11.0as global system default via pyenv - Creating configuration symlinks for conf files in
./confand./nvim - etc.
These are apps not bootstrapped by the setup script, and should be installed & configured accordingly below.
- Startup Mode -> Verbose
- Applications -> Display debug menu -> On
- Menus -> Show Quit Finder -> On
- Misc
- CrashReporter Mode -> Developer
- Prevent
.DS_Storefiles from being created on network devices -> On
- Run in Alert Mode
- Detail Level -> Show Port and Protocol Details
- Preselected Options -> Domain or Host -> Full Hostname
- Confirm connection alert automatically -> Deny connection attempts after 180seconds
- Security -> Allow access via Terminal
- DNS Encryption -> Off
- Advanced -> BPF Monitoring -> On
- Open at login -> On
- Log activity -> On
- Show overlay when devices are active -> Off
- General -> Window Margins -> Enabled, 6px
- Layouts -> Remove Wide, Remove Column
- Debug -> Show debug info about layouts -> On
- Floating
- Float small windows -> On
- Automatically float applications listed
com.apple.systempreferences
- Shortcuts
- Shrink Main Pane -> Cmd+Shift+H
- Expand Main Pane -> Cmd+Shift+L
- Swap focused windows clockwise -> Cmd+Shift+X
- Relaunch Amethyst -> Cmd+Z
- Remove everything else
- Theme -> Dark
- Font Face -> Monaspace Krypton
- Font Size -> 16
- Custom colors -> Set Daytime + Sunset + Bedtime to: 2700K (Tungsten)
- Raycast AI -> Off
- Disable everything except:
- Applications
- Calculator
- Clipboard History
- Search Emoji & Symbols
- Snippets
- System
- System Settings
- Translate
- Replace macOS default screenshot hotkeys
- Display recording time -> On
- Do Not Disturb while recording -> On
- Show cursor -> on
- Highlight clicks -> on
- Show countdown -> On
- File name:
screencap-,%y,-,%m,-,%d,-,%H,.,%M,.,%S - Remove illegal characters -> On
- Use UTC time -> Off
- Keep history -> 1 month
- All-in-One -> Remember last selection
- Add "2x" suffix to retina screenshots -> On
- Sign in with Firefox Sync
- DevTools -> Dock to right
Configuration handled by setup script.
No additional config.
No additional config.
No additional config.
No additional config.
No additional config.
No additional config.
No additional config.
No additional config.
- New Finder windows show: Documents
- Sync Desktop & Documents folders -> On
- Open folders in tabs instead of new windows -> On
- Show all filename extensions -> On
- Show warning before changing an extension -> Off
- When performing a search -> Search the Current Folder
- Remove items from the Trash after 30 days -> On
- Scroll Speed -> 80%
- Use Trackpad for dragging -> On
- Dragging style -> Three Finger Drag
- Key Repeat Rate - Fast 100%
- Delay until repeat - Short 100%
- Function Keys - Use F1, F2, etc. as standard function keys - On
- Modifier Keys - Caps Lock -> Escape
- Shortcuts -> Spotlight -> Show spotlight search -> Off
- Text Replacements -> Delete all
- Correct spelling automatically -> Off
- Capitalize words automatically -> Off
- Show inline predictive text -> Off
- Show suggested replies -> On
- Add period with double-space -> Off
- Spelling -> Automatic by language
- Use smart quotes and dashes -> Off
- Dock Size -> Smallest
- Dock Magnification -> 80%
- Position on screen -> Right
- Show suggested & recent apps in Dock -> Off
- Show date -> Display time with seconds
- Battery -> Show percentage