Skip to content

oxyc/mac-playbook

Repository files navigation

Mac Development Ansible Playbook

This playbook installs and configures most of the software I use on my Mac for web and software development. The playbook contained in this repo does nothing except delegate all functionality to geerlingguy/mac-dev-playbook's playbook.

Note: Do NOT install anything you haven't looked through–this is a highly opinionated set of configurations. Running the playbook will affect pretty much every aspect of your environment so for others than me, this is mostly a reference point.

See also:

Installation

# Clone this repository to your local drive.
git clone --recursive https://github.com/oxyc/mac-playbook.git
cd mac-playbook

# Install dependencies.
make install

# Run the playbook.
make provision

Running a specific set of tagged tasks

You can filter which part of the provisioning process to run by specifying a set of tags using ansible-playbook's --tags flag. The tags available are dotfiles, homebrew, mas and osx.

ansible-playook main.yml -i geerlingguy.mac-dev-playbook/inventory -K --tags "dotfiles,homebrew"

Screenshots

Screenshot

chunkwm as my tiling window manager and khd as my hotkey daemon. This will be added to the playbook once chunkwm hits alpha.

vimrc

iTerm2 running neovim using my vimrc repository.

IINA

IINA as Video player.

Future additions

Things that still need to be done manually

  1. Create 6 mission control desktops and bind ^1, ^2… as Switch to Desktop shortcuts under Keyboard preferences.
  2. Turn on FileVault under Security & Privacy preferences.
  3. Allow chunkwm, khd and iTerm.app Accessibility control under Security & Privacy preferences.
  4. Configure Alfred.app with ⌘P as the hotkey and Alfred dark as the theme.
  5. Remove iTunes helper from Login items under User & Groups preferences.
  6. Disable gesture to Zoom under Accessibility preferences.
  7. Configure extra Mail and/or Calendar accounts (e.g. Google, Exchange, etc.).
  8. Not sure if these actually do much but enable the following in chrome://flags:
    • Fast tab/window close
    • Automatic tab discardin
    • Throttle expensive background timers
    • Optimize background video playback

Research / todos

  1. Is there a default binding for input source? Possibly remap this using khd.
  2. Which default shortcut keys need to be disabled under Keyboard preferences?