My dotfiles & configs as well as the setup of macOS via Ansible.
- Complete the initial Mac setup (Sign in to iCloud and the App Store).
- Install Xcode command line tools:
xcode-select --install
. - Upgrade pip:
sudo pip3 install --upgrade pip
- Install Ansible:
pip3 install ansible
. - Add Ansible to your
$PATH
:export PATH="$PATH:$HOME/Library/Python/3.9/bin"
- Clone or download this repository to your local
$HOME
directory. - Change directory to
playbook
and runansible-playbook main.yml --ask-become-pass
.
- Install Apps from the App Store:
- Magnet
- Word
- Excel
- PowerPoint
- Remove all Apps from the Dock (
defaults write com.apple.dock persistent-apps -array && killall Dock
) and add yours. - Log into all your Apps: OneDrive, Discord, etc.
- Safari:
- General: Homepage →
about:blank
- General: Open "safe" files after downloading →
false
- AutoFill:
false
- Search: Include search engine suggestions →
false
- Search: Include Safari Suggestions →
false
- Privacy: Apply Pay and Apple Card →
false
- Privacy: Web advertising →
false
- Advanced: Show full website address →
true
- Advanced: Show Develop menu in menu bar →
true
- General: Homepage →
- Mail:
- General: Enable message follow up suggestions →
false
- General: When searching all mailboxes, include results from →
Trash, Junk
- Viewing: Show most recent message at the top →
true
- General: Enable message follow up suggestions →
- Notifications: Adjust options.
- Siri & Spotlight → exclude from Spotlight search:
- Bookmarks & History
- Definition
- Fonts
- Movies
- Music
- Other
- Siri Suggestions
- Privacy & Security: App Management → Add Terminal.app
- Battery: Options → Prevent automatic sleeping on power adapter when the display is off →
true
- Lock Screen: Require password after screen saver begins or display is turned off →
After 5 seconds
- Keyboard: Keyboard Shortcuts → Input Sources → Uncheck "Select the previous input source" (Control + Space)
- Customize Finder sidebar and toolbar.
- Copy SSH keys and set permissions (
chmod 700 ~/.ssh
andchmod 600 ~/.ssh/*
).
To Jeff Geerling for his Mac Dev Playbook, Ansible Collection Mac and generally for all his contributions to the open source community.