Skip to content

My Ansible Playbook to configure my MacBook

Notifications You must be signed in to change notification settings

psychoticlabrat/mac-setup-1

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mac Setup

⚙️ Automatic configuration for my Mac.

ℹ️ Blog post about moving to macOS after ten years of Linux.

Automatic installation is based upon the following Ansible roles:

Also kudos to Jeff Geerling for his work with mac-dev-playbook which obviously influenced my setup.

Bootstrap

Bootstrap your system to be able to run Ansible:

  • xcode-select --install
  • export PATH=$PATH:$HOME/Library/Python/3.8/bin:/opt/homebrew/bin
  • pip3 install --upgrade pip
  • pip3 install --user ansible

Run Ansible

Run Ansible with the provided Makefile:

  • make install to download required ansible roles
  • make configure to run ansible-playbook (sudo password required)

Manual installation

Some apps need to be installed manually

  • Download TinkerTool for some extra tweaks
  • Download bartender for a clean bar
  • Download Minbrowser - a clean browser without any distractions (fix permissions with xattr -cr /Applications/Min.app)
  • Download Forklift3 - a finder alternative and replacement
  • Download CleanShot X - a screen recording tool
  • Chromium cask not working as expected -> download manually and run xattr -cr /Applications/Chromium.app
  • Download and install FastRAWViewer
  • Download and install a patched font for your terminal
  • Download and install BetterDisplay

Configuration

Configuration is mainly done via my dotfiles repo and a private dotfiles repo that contains a script that does the symlinking (via rcm)

Replace Finder with Forklift3

defaults write -g NSFileViewer -string com.binarynights.ForkLift-3;
defaults write com.apple.LaunchServices/com.apple.launchservices.secure LSHandlers -array-add '{LSHandlerContentType="public.folder";LSHandlerRoleAll="com.binarynights.ForkLift-3";}'

About

My Ansible Playbook to configure my MacBook

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 93.4%
  • Makefile 6.6%