Skip to content

Latest commit

 

History

History
52 lines (34 loc) · 2.57 KB

README.md

File metadata and controls

52 lines (34 loc) · 2.57 KB

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
  • 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 AlDente Pro

Configuration

Configuration is mainly done via my dotfiles repo via ansible-roles-dotfiles and a private dotfiles repo, both using chezmoi under the hood.

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";}'