Skip to content

Latest commit

 

History

History
61 lines (42 loc) · 1.42 KB

README.md

File metadata and controls

61 lines (42 loc) · 1.42 KB

macos-devbox

MacOS development box setup automated using Ansible playbook.

Features

Configures my personal preferences but you can customize it for your liking.

  1. Install desktop and terminal apps using Homebrew
  2. Setup terminal (iterm2 fonts, ohmyzsh, custom theme, fzf etc.)
  3. Setup git aliases
  4. Setup system defaults (finder behavior, full keyboard access, disable natural scrolling)
  5. Remap keys (by default right command to option)
  6. Share ssh configs

Installation

  1. Install Homebrew

  2. Clone this project:

mkdir -p $HOME/Projects/github/bwilczynski && cd $_
git clone https://github.com/bwilczynski/macos-devbox.git && cd macos-devbox
  1. Install Ansible inside virtual environment
python3 -m venv venv
source venv/bin/activate
pip install --upgrade pip
pip install -r requirements.txt

On Apple M1, or if the installation fails because cryptography wheel cannot be found you might want to build it from sources:

https://cryptography.io/en/latest/installation.html

brew install [email protected] rust
env LDFLAGS="-L$(brew --prefix [email protected])/lib" CFLAGS="-I$(brew --prefix [email protected])/include" pip install -r requirements.txt

You may also be required to install Rosetta 2:

sudo softwareupdate --install-rosetta
  1. Install Ansible requirements
ansible-galaxy install -r requirements.yml
  1. Run Ansible playbook
ansible-playbook local.yml