Skip to content

My dotfiles & configs as well as the setup of macOS via Ansible.

License

Notifications You must be signed in to change notification settings

timschneiderxyz/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible Playbook for macOS

dotfiles

My dotfiles & configs as well as the setup of macOS via Ansible.

Apache 2.0 License

Setup

  1. Complete the initial Mac setup (Sign in to iCloud and the App Store).
  2. Install Xcode command line tools: xcode-select --install.
  3. Install Ansible: python3 -m pip install --user ansible.
  4. Add Ansible to your $PATH: export PATH="$PATH:$HOME/Library/Python/3.9/bin"
  5. Clone or download this repository to your local drive.
  6. Run ansible-playbook main.yaml --ask-become-pass inside this directory.

Apps

  • Finder Sidebar: Home, Projects, Downloads, Applications, AirDrop, iCloud Drive, External Disks, Cloud Storage, Connected servers
  • Install Apps from the App Store: Word, Excel, PowerPoint
  • 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
    • Advanced: Show full website address → true
    • Advanced: Allow websites to check for Apply Pay and Apple Card → false
    • Advanced: Show features for web developers → true
  • Mail:
    • General: Follow Up Suggestions → false
    • General: When searching all mailboxes, include results from → Trash, Junk
    • Viewing: Show most recent message at the top → true
  • Chrome:
    • Adjust settings for all profiles.
    • Install extensions.

System Settings

  • Notifications: Adjust options.
  • Lock Screen: Require password after screen saver begins or display is turned off → After 5 seconds
  • Privacy & Security: Adjust options.
  • Spotlight: Improve Search → false
  • Keyboard: Press Globe key to → Do Nothing
  • Keyboard: Keyboard Shortcuts → Input Sources → Uncheck all shortcuts
  • Keyboard: Keyboard Shortcuts → Spotlight → Uncheck all shortcuts
  • Keyboard: Keyboard Shortcuts → Modifier Keys → Remap Caps Lock to ESC
  • Trackpad: Look up & data detectors → off
  • Mouse: Advanced → Pointer acceleration → false

Other

  • Remove all Apps from the Dock (defaults write com.apple.dock persistent-apps -array && killall Dock) and add yours.
  • Set default permissions for directories and files:
    • find Projects -type d -exec chmod 755 {} \;
    • find Projects -type f -exec chmod 644 {} \;
  • Copy SSH keys and set permissions:
    • chmod 700 ~/.ssh
    • chmod 600 ~/.ssh/*
  • Log in to all your Apps.
  • Restart the Computer.

About

My dotfiles & configs as well as the setup of macOS via Ansible.

Topics

Resources

License

Stars

Watchers

Forks