Skip to content

MacOS development box setup automated using Ansible playbook

License

Notifications You must be signed in to change notification settings

bwilczynski/macos-devbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

MacOS development box setup automated using Ansible playbook

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published