The goal of this project is to configure a fresh install of macOS as fast as
possible. Scripts can be run individually or all together via run/run.sh
.
My dotfiles are pulled from a separate repository hosted
here. These scripts were designed
with idempotency in mind and can be re-run periodically.
This will first run the automated setup, then guide the user through manual steps.
mkdir ~/Desktop/macos-configs && cd ~/Desktop/macos-configs && curl -#L https://github.com/yuzhoumo/macos-configs/tarball/main --silent | tar -xzv --strip-components 1 --exclude={README.md,LICENSE} && ./run/run.sh
Run scripts in the following order:
macos.sh
: Set various system settingsfont.sh
: Install fonts from assets directorydot.sh
: Install dotfiles from Githubbrew.sh
: Install packages using Homebrewicon.sh
: Set custom icons for certain appsdock.sh
: Set application shortcuts in the Dockpost.sh
: Set various tweaks after environment is set up
Could not find a way to automate these settings. Some existing methods were broken since the Big Sur update.
System Preferences > Security & Privacy > FileVault
: Turn on FileVaultSystem Preferences > Security & Privacy > Privacy
: Configure as neededSystem Preferences > Extensions
: Uncheck unecessary extensionsSystem Preferences > General
: Set "Recent Items" to "none"System Preferences > Spotlight > Search Results
: Check "Applications", "Folders", "Fonts", "PDF Documents", "System Preferences"System Preferences > Accessibility > Display
: Check "Reduce Transparency"Menu Bar > Finder > Preferences > Sidebar
: Uncheck "iCloud Drive", "Cloud Storage", "Bonjour Computers"
Firefox
- Import user.js config from
assets/files
- Sync with Firefox account
- Set default search engine, set device name, and configure toolbar
Chromium
- Add extension support:
- https://github.com/NeverDecaf/chromium-web-store
- Install: uBlock Origin, DuckDuckGo Essentials, Return YouTube Dislike
Sync and Google services
: Uncheck "Autocomplete searches and URLs"Autofill
: Uncheck everythingSecurity and Privacy
:- Security: Check "Always use secure connections"
- Cookies and other site data:
- Check "Block third-party cookies"
- Check "Clear cookies and site data when you close all windows"
Appearance
: Check "Show bookmarks bar"On startup
: Check "Open the New Tab Page"
Safari
General
:- Set "Safari opens with" to "Private Window"
- Set "Homepage" to "about`:blank"
- Set "Remove history items" to "After one day"
- Uncheck "Open safe files after downloading"
AutoFill
: Uncheck everythingSearch
:- Set "Search engine" to "DuckDuckGo"
- Uncheck everything
Security
: Uncheck "Warn when visiting fraudulent website"Privacy
:- Uncheck "Hide IP address"
- Uncheck "Allow privacy-preserving measurement of ad effectiveness"
Website
: Deny Location and NotificationsAdvanced
:- Check Show full website address
- Set "Default encoding" to "Unicode (UTF-8)"
- Check "Show Develop menu in menu bar"