Compare commits
4 commits
master
...
zsh-antige
Author | SHA1 | Date | |
---|---|---|---|
Oliver Davies | bf9e024c7f | ||
Oliver Davies | ba96878b9c | ||
Oliver Davies | f04ef1b8c7 | ||
Oliver Davies | 03614d9ff5 |
19
main.yml
19
main.yml
|
@ -7,18 +7,23 @@
|
||||||
- vars/homebrew.yml
|
- vars/homebrew.yml
|
||||||
- vars/mas.yml
|
- vars/mas.yml
|
||||||
- vars/misc.yml
|
- vars/misc.yml
|
||||||
|
- vars/user.yml
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
|
- include: tasks/sudoers.yml
|
||||||
|
tags: ['osx']
|
||||||
- include: tasks/sublime.yml
|
- include: tasks/sublime.yml
|
||||||
tags: [sublime]
|
tags: ['sublime']
|
||||||
|
- include: tasks/macos.yml
|
||||||
|
tags: ['macos']
|
||||||
|
|
||||||
roles:
|
roles:
|
||||||
- role: karlmdavis.rcm-dotfiles
|
- role: gantsign.antigen
|
||||||
tags: [dotfiles]
|
tags: ['zsh']
|
||||||
|
- role: geerlingguy.dotfiles
|
||||||
|
tags: ['dotfiles']
|
||||||
- role: geerlingguy.homebrew
|
- role: geerlingguy.homebrew
|
||||||
tags: [homebrew]
|
tags: ['homebrew']
|
||||||
- role: geerlingguy.mas
|
- role: geerlingguy.mas
|
||||||
when: mas_installed_apps
|
when: mas_installed_apps
|
||||||
tags: [macos, mas]
|
tags: ['mas']
|
||||||
- role: ./roles/macos
|
|
||||||
tags: [macos]
|
|
||||||
|
|
|
@ -1,6 +1,9 @@
|
||||||
---
|
---
|
||||||
- src: 'karlmdavis.rcm-dotfiles'
|
- src: 'gantsign.antigen'
|
||||||
|
version: '1.3.2'
|
||||||
|
- src: 'geerlingguy.dotfiles'
|
||||||
|
version: '1.2.0'
|
||||||
- src: 'geerlingguy.homebrew'
|
- src: 'geerlingguy.homebrew'
|
||||||
version: '3.1.0'
|
version: '2.9.0'
|
||||||
- src: 'geerlingguy.mas'
|
- src: 'geerlingguy.mas'
|
||||||
version: '1.2.0'
|
version: '1.2.0'
|
||||||
|
|
|
@ -1,7 +0,0 @@
|
||||||
---
|
|
||||||
- name: Remove VLC from the menu bar
|
|
||||||
osx_defaults:
|
|
||||||
domain: org.videolan.vlc
|
|
||||||
key: 'NSStatusItem Visible statusBarItem'
|
|
||||||
type: bool
|
|
||||||
value: false
|
|
|
@ -1,51 +0,0 @@
|
||||||
---
|
|
||||||
- name: Empty the Dock
|
|
||||||
shell: 'dockutil --remove all --no-restart'
|
|
||||||
|
|
||||||
- name: Disable launch animation
|
|
||||||
osx_defaults:
|
|
||||||
domain: com.apple.dock
|
|
||||||
key: launchanim
|
|
||||||
type: bool
|
|
||||||
value: false
|
|
||||||
|
|
||||||
- name: Hide open indicators
|
|
||||||
osx_defaults:
|
|
||||||
domain: com.apple.dock
|
|
||||||
key: show-process-indicators
|
|
||||||
type: bool
|
|
||||||
value: false
|
|
||||||
|
|
||||||
- name: Hide recent apps
|
|
||||||
osx_defaults:
|
|
||||||
domain: com.apple.dock
|
|
||||||
key: show-recents
|
|
||||||
type: bool
|
|
||||||
value: false
|
|
||||||
|
|
||||||
- name: Set the icon size of Dock items.
|
|
||||||
osx_defaults:
|
|
||||||
domain: com.apple.dock
|
|
||||||
key: tilesize
|
|
||||||
type: int
|
|
||||||
value: 35
|
|
||||||
notify:
|
|
||||||
- killall Dock
|
|
||||||
|
|
||||||
- name: Automatically hide and show the Dock.
|
|
||||||
osx_defaults:
|
|
||||||
domain: com.apple.dock
|
|
||||||
key: autohide
|
|
||||||
type: bool
|
|
||||||
value: true
|
|
||||||
notify:
|
|
||||||
- killall Dock
|
|
||||||
|
|
||||||
- name: Remove the autohide delay.
|
|
||||||
osx_defaults:
|
|
||||||
domain: com.apple.dock
|
|
||||||
key: autohide-delay
|
|
||||||
type: float
|
|
||||||
value: 0
|
|
||||||
notify:
|
|
||||||
- killall Dock
|
|
|
@ -1,23 +0,0 @@
|
||||||
- name: Disable smart dashes
|
|
||||||
osx_defaults:
|
|
||||||
domain: NSGlobalDomain
|
|
||||||
key: NSAutomaticDashSubstitutionEnabled
|
|
||||||
type: bool
|
|
||||||
value: false
|
|
||||||
|
|
||||||
- name: Disable press-and-hold for keys in favor of key repeat
|
|
||||||
osx_defaults:
|
|
||||||
domain: NSGlobalDomain
|
|
||||||
key: ApplePressAndHoldEnabled
|
|
||||||
type: bool
|
|
||||||
value: false
|
|
||||||
|
|
||||||
- name: Set a blazingly fast keyboard repeat rate, and make it happen more quickly
|
|
||||||
osx_defaults:
|
|
||||||
domain: NSGlobalDomain
|
|
||||||
key: '{{ item.key }}'
|
|
||||||
type: int
|
|
||||||
value: '{{ item.value }}'
|
|
||||||
with_items:
|
|
||||||
- { key: InitialKeyRepeat, value: 20 }
|
|
||||||
- { key: KeyRepeat, value: 1 }
|
|
|
@ -1,21 +0,0 @@
|
||||||
---
|
|
||||||
- name: Hide by default
|
|
||||||
osx_defaults:
|
|
||||||
domain: 'Apple Global Domain'
|
|
||||||
key: _HIHideMenuBar
|
|
||||||
type: bool
|
|
||||||
value: true
|
|
||||||
|
|
||||||
- name: Show battery percentage
|
|
||||||
osx_defaults:
|
|
||||||
domain: com.apple.menuextra.battery
|
|
||||||
key: ShowPercent
|
|
||||||
type: string
|
|
||||||
value: yes
|
|
||||||
|
|
||||||
- name: Show the current date
|
|
||||||
osx_defaults:
|
|
||||||
domain: com.apple.menuextra.clock
|
|
||||||
key: DateFormat
|
|
||||||
type: string
|
|
||||||
value: 'EEE d MMM HH:mm'
|
|
|
@ -1,7 +0,0 @@
|
||||||
---
|
|
||||||
- name: Enable tap on click
|
|
||||||
osx_defaults:
|
|
||||||
domain: com.apple.driver.AppleBluetoothMultitouch.trackpad
|
|
||||||
key: Clicking
|
|
||||||
type: bool
|
|
||||||
value: true
|
|
|
@ -1,14 +0,0 @@
|
||||||
---
|
|
||||||
- name: Reduce transparency
|
|
||||||
osx_defaults:
|
|
||||||
domain: com.apple.universalaccess
|
|
||||||
key: reduceTransparency
|
|
||||||
type: bool
|
|
||||||
value: true
|
|
||||||
|
|
||||||
- name: Reduce motion
|
|
||||||
osx_defaults:
|
|
||||||
domain: com.apple.universalaccess
|
|
||||||
key: reduceMotion
|
|
||||||
type: bool
|
|
||||||
value: true
|
|
5
roles/mkdocs/tasks/main.yml
Normal file
5
roles/mkdocs/tasks/main.yml
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
- name: Install mkdocs
|
||||||
|
pip:
|
||||||
|
name: mkdocs
|
||||||
|
state: present
|
27
roles/osx/tasks/dock.yml
Normal file
27
roles/osx/tasks/dock.yml
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
---
|
||||||
|
- name: Set the icon size of Dock items.
|
||||||
|
osx_defaults:
|
||||||
|
domain: com.apple.dock
|
||||||
|
key: tilesize
|
||||||
|
type: float
|
||||||
|
value: 20
|
||||||
|
notify:
|
||||||
|
- killall Dock
|
||||||
|
|
||||||
|
- name: Automatically hide and show the Dock.
|
||||||
|
osx_defaults:
|
||||||
|
domain: com.apple.dock
|
||||||
|
key: autohide
|
||||||
|
type: bool
|
||||||
|
value: true
|
||||||
|
notify:
|
||||||
|
- killall Dock
|
||||||
|
|
||||||
|
- name: Remove the autohide delay.
|
||||||
|
osx_defaults:
|
||||||
|
domain: com.apple.dock
|
||||||
|
key: autohide-delay
|
||||||
|
type: float
|
||||||
|
value: 0
|
||||||
|
notify:
|
||||||
|
- killall Dock
|
|
@ -21,21 +21,3 @@
|
||||||
value: false
|
value: false
|
||||||
notify:
|
notify:
|
||||||
- killall Finder
|
- killall Finder
|
||||||
|
|
||||||
- name: Hide the status bar
|
|
||||||
osx_defaults:
|
|
||||||
domain: com.apple.finder
|
|
||||||
key: ShowStatusBar
|
|
||||||
type: bool
|
|
||||||
value: false
|
|
||||||
notify:
|
|
||||||
- killall Finder
|
|
||||||
|
|
||||||
- name: Hide the path bar
|
|
||||||
osx_defaults:
|
|
||||||
domain: com.apple.finder
|
|
||||||
key: ShowPathbar
|
|
||||||
type: bool
|
|
||||||
value: false
|
|
||||||
notify:
|
|
||||||
- killall Finder
|
|
|
@ -1,11 +1,6 @@
|
||||||
---
|
---
|
||||||
- include: apps/vlc.yml
|
|
||||||
- include: dock.yml
|
- include: dock.yml
|
||||||
- include: finder.yml
|
- include: finder.yml
|
||||||
- include: global.yml
|
|
||||||
- include: keyboard.yml
|
- include: keyboard.yml
|
||||||
- include: menu-bar.yml
|
|
||||||
- include: moved-from-tasks.yml
|
|
||||||
- include: screensaver.yml
|
- include: screensaver.yml
|
||||||
- include: trackpad.yml
|
|
||||||
- include: universal-access.yml
|
- include: universal-access.yml
|
|
@ -10,5 +10,5 @@
|
||||||
osx_defaults:
|
osx_defaults:
|
||||||
domain: com.apple.screensaver
|
domain: com.apple.screensaver
|
||||||
key: askForPasswordDelay
|
key: askForPasswordDelay
|
||||||
type: int
|
type: float
|
||||||
value: 0
|
value: 0
|
7
roles/osx/tasks/universal-access.yml
Normal file
7
roles/osx/tasks/universal-access.yml
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
---
|
||||||
|
- name: Require a password when exiting the screen saver.
|
||||||
|
osx_defaults:
|
||||||
|
domain: com.apple.universalaccess
|
||||||
|
key: reduceTransparency
|
||||||
|
type: bool
|
||||||
|
value: true
|
|
@ -1,4 +1,11 @@
|
||||||
---
|
---
|
||||||
|
- name: Hide the menu bar by default
|
||||||
|
osx_defaults:
|
||||||
|
domain: 'Apple Global Domain'
|
||||||
|
key: _HIHideMenuBar
|
||||||
|
type: bool
|
||||||
|
value: true
|
||||||
|
|
||||||
- name: Check for software updates daily, not just once per week
|
- name: Check for software updates daily, not just once per week
|
||||||
osx_defaults:
|
osx_defaults:
|
||||||
domain: com.apple.SoftwareUpdate
|
domain: com.apple.SoftwareUpdate
|
||||||
|
@ -47,3 +54,10 @@
|
||||||
key: QuitMenuItem
|
key: QuitMenuItem
|
||||||
type: boolean
|
type: boolean
|
||||||
value: true
|
value: true
|
||||||
|
|
||||||
|
- name: Kill affected applications
|
||||||
|
command: 'killall {{ item }}'
|
||||||
|
with_items:
|
||||||
|
- Dock
|
||||||
|
- Finder
|
||||||
|
- SystemUIServer
|
10
tasks/sudoers.yml
Normal file
10
tasks/sudoers.yml
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
---
|
||||||
|
# Sudoers configuration (enables more convenient Vagrant usage).
|
||||||
|
- name: Copy sudoers configuration into place.
|
||||||
|
copy:
|
||||||
|
src: files/etc/sudoers
|
||||||
|
dest: /etc/sudoers
|
||||||
|
mode: 0440
|
||||||
|
validate: 'visudo -cf %s'
|
||||||
|
become: yes
|
||||||
|
when: configure_sudoers
|
|
@ -1,5 +1,13 @@
|
||||||
---
|
---
|
||||||
rcm_user: opdavies
|
dotfiles_repo: "https://github.com/opdavies/dotfiles.git"
|
||||||
rcm_repos:
|
dotfiles_repo_local_destination: "~/.dotfiles"
|
||||||
- repo: 'https://github.com/opdavies/dotfiles'
|
dotfiles_files:
|
||||||
dest: '/Users/opdavies/dotfiles'
|
- .aliases
|
||||||
|
- .functions
|
||||||
|
- .gitconfig
|
||||||
|
- .gitignore-global
|
||||||
|
- .hushlogin
|
||||||
|
- .ideavimrc
|
||||||
|
- .npmrc
|
||||||
|
- .vimrc
|
||||||
|
- .zshrc
|
||||||
|
|
|
@ -1,39 +1,31 @@
|
||||||
---
|
---
|
||||||
homebrew_taps:
|
homebrew_taps:
|
||||||
- drud/ddev
|
- caskroom/cask
|
||||||
- homebrew/cask
|
- caskroom/fonts
|
||||||
- homebrew/cask-fonts
|
- caskroom/versions
|
||||||
- homebrew/cask-versions
|
|
||||||
- homebrew/services
|
- homebrew/services
|
||||||
|
|
||||||
homebrew_installed_packages:
|
homebrew_installed_packages:
|
||||||
- bfg
|
|
||||||
- cairo
|
- cairo
|
||||||
- composer
|
- composer
|
||||||
- ddev
|
|
||||||
- direnv
|
- direnv
|
||||||
- dnsmasq
|
- dnsmasq
|
||||||
- dockutil
|
|
||||||
- drupal-code-sniffer
|
- drupal-code-sniffer
|
||||||
- fswatch
|
- fswatch
|
||||||
- fzf
|
|
||||||
- git-extras
|
- git-extras
|
||||||
- git-flow
|
- git-flow
|
||||||
- git-ftp
|
- git-ftp
|
||||||
- git-sh
|
- git-sh
|
||||||
- htop
|
- htop
|
||||||
- hub
|
- hub
|
||||||
- jq
|
|
||||||
- lftp
|
- lftp
|
||||||
- mas
|
- mas
|
||||||
- molecule
|
- molecule
|
||||||
- mysql
|
- mysql
|
||||||
- npm
|
|
||||||
- peco
|
- peco
|
||||||
- phpmd
|
- phpmd
|
||||||
- pv
|
- pv
|
||||||
- python
|
- python
|
||||||
- reattach-to-user-namespace
|
|
||||||
- ssh-copy-id
|
- ssh-copy-id
|
||||||
- tig
|
- tig
|
||||||
- tmux
|
- tmux
|
||||||
|
@ -41,38 +33,39 @@ homebrew_installed_packages:
|
||||||
- unison
|
- unison
|
||||||
- watch
|
- watch
|
||||||
- wget
|
- wget
|
||||||
- yarn
|
- z
|
||||||
- zplug
|
|
||||||
|
|
||||||
homebrew_cask_apps:
|
homebrew_cask_apps:
|
||||||
- alfred
|
- alfred
|
||||||
- appcleaner
|
- appcleaner
|
||||||
|
- asciinema
|
||||||
- authy
|
- authy
|
||||||
- avast-security
|
- avast
|
||||||
- balenaetcher
|
- balenaetcher
|
||||||
- bartender
|
|
||||||
- boxer
|
- boxer
|
||||||
- caffeine
|
- caffeine
|
||||||
- cyberduck
|
- cyberduck
|
||||||
- discord
|
- discord
|
||||||
- docker
|
- docker
|
||||||
- dropbox
|
- dropbox
|
||||||
- figma
|
- filezilla
|
||||||
- firefox
|
- firefox
|
||||||
- font-fira-code
|
- font-fira-code
|
||||||
- font-roboto-mono
|
- font-roboto-mono
|
||||||
- font-source-code-pro
|
- font-source-code-pro
|
||||||
- github
|
- github
|
||||||
- google-chrome
|
- google-chrome
|
||||||
|
- google-drive
|
||||||
- gpgtools
|
- gpgtools
|
||||||
- iconjar
|
- iconjar
|
||||||
- iterm2
|
- iterm2
|
||||||
|
- jq
|
||||||
- karabiner-elements
|
- karabiner-elements
|
||||||
- keybase
|
- keybase
|
||||||
- kitematic
|
- kitematic
|
||||||
|
- lando
|
||||||
- lastpass
|
- lastpass
|
||||||
- mailplane
|
- mailplane
|
||||||
- moom
|
|
||||||
- ngrok
|
- ngrok
|
||||||
- nordvpn
|
- nordvpn
|
||||||
- obs
|
- obs
|
||||||
|
@ -84,13 +77,11 @@ homebrew_cask_apps:
|
||||||
- qlmarkdown
|
- qlmarkdown
|
||||||
- resilio-sync
|
- resilio-sync
|
||||||
- sequel-pro
|
- sequel-pro
|
||||||
- sip
|
|
||||||
- sizzy
|
|
||||||
- skype
|
- skype
|
||||||
- slack
|
- slack
|
||||||
|
- spectacle
|
||||||
- spotify
|
- spotify
|
||||||
- sublime-text
|
- sublime-text
|
||||||
- synergy
|
|
||||||
- textual
|
- textual
|
||||||
- the-unarchiver
|
- the-unarchiver
|
||||||
- tunnelblick
|
- tunnelblick
|
||||||
|
|
43
vars/mas.yml
43
vars/mas.yml
|
@ -1,17 +1,30 @@
|
||||||
mas_signin_dialog: no
|
mas_signin_dialog: no
|
||||||
mas_installed_apps:
|
mas_installed_apps:
|
||||||
- { name: 'Airmail 4', id: 918858936 }
|
- name: 'Bear'
|
||||||
- { name: 'Bear', id: 1091189122 }
|
id: 1091189122
|
||||||
- { name: 'Carbonize', id: 1451177988 }
|
- name: 'iMovie'
|
||||||
- { name: 'iA Writer', id: 775737590 }
|
id: 408981434
|
||||||
- { name: 'iMovie', id: 408981434 }
|
- name: 'Keynote'
|
||||||
- { name: 'Keynote', id: 409183694 }
|
id: 409183694
|
||||||
- { name: 'LastPass', id: 926036361 }
|
- name: 'LastPass'
|
||||||
- { name: 'Numbers', id: 409203825 }
|
id: 926036361
|
||||||
- { name: 'Pages', id: 409201541 }
|
- name: 'Microsoft Remote Desktop'
|
||||||
- { name: 'Reeder', id: 880001334 }
|
id: 715768417
|
||||||
- { name: 'Slack', id: 803453959 }
|
- name: 'Numbers'
|
||||||
- { name: 'Todoist', id: 585829637 }
|
id: 409203825
|
||||||
- { name: 'Tweetbot 3 for Twitter', id: 1384080005 }
|
- name: 'Pages'
|
||||||
- { name: 'TweetDeck', id: 485812721 }
|
id: 409201541
|
||||||
- { name: 'Xcode', id: 497799835 }
|
- name: 'Pocket'
|
||||||
|
id: 568494494
|
||||||
|
- name: 'Reeder'
|
||||||
|
id: 880001334
|
||||||
|
- name: 'Slack'
|
||||||
|
id: 803453959
|
||||||
|
- name: 'Todoist'
|
||||||
|
id: 585829637
|
||||||
|
- name: 'Tweetbot'
|
||||||
|
id: 557168941
|
||||||
|
- name: 'TweetDeck'
|
||||||
|
id: 485812721
|
||||||
|
- name: 'Xcode'
|
||||||
|
id: 497799835
|
||||||
|
|
19
vars/user.yml
Normal file
19
vars/user.yml
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
users:
|
||||||
|
- username: opdavies
|
||||||
|
antigen_libraries:
|
||||||
|
- name: oh-my-zsh
|
||||||
|
antigen_bundles:
|
||||||
|
- name: cd-gitroot
|
||||||
|
url: https://github.com/mollifier/cd-gitroot
|
||||||
|
- name: common-aliases
|
||||||
|
- name: composer
|
||||||
|
- name: docker
|
||||||
|
- name: git
|
||||||
|
- name: github
|
||||||
|
- name: npm
|
||||||
|
- name: osx
|
||||||
|
- name: z
|
||||||
|
- name: zsh-autosuggestions
|
||||||
|
url: https://github.com/zsh-users/zsh-autosuggestions
|
||||||
|
- name: zsh-syntax-highlighting
|
||||||
|
url: https://github.com/zsh-users/zsh-syntax-highlighting
|
Loading…
Reference in a new issue