-
Notifications
You must be signed in to change notification settings - Fork 2
/
config.yml
330 lines (300 loc) · 10.3 KB
/
config.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
---
configure_sudoers: yes
configure_terminal: no
configure_osx: yes
configure_dock: yes
dotfiles_repo: https://github.com/oxyc/dotfiles.git
dotfiles_repo_accept_hostkey: yes
dotfiles_repo_local_destination: ~/Projects/Personal/dotfiles
dotfiles_files:
- .ignore
- .bash_profile
- .bashrc
- .chunkwmrc
- .dircolors
- .gitconfig
- .gitignore
- .inputrc
- .khdrc
- .lftprc
- .bash_sessions_disable
- .bash/aliases.sh
- .bash/colors.sh
- .bash/completions.sh
- .bash/exports.sh
- .bash/functions.sh
- .bash/prompt.sh
- .bash/shell.sh
- .bash/ssh-agent.sh
- .osx/osx.sh
- .weechat/irc.conf
- .weechat/lua/autoload/matrix.lua
- .weechat/perl/autoload/buffers.pl
- .weechat/plugins.conf
- .weechat/plugins/scripts/perl/buffers.pl
- .weechat/plugins/weechat-matrix-protocol-script/matrix.lua
- .weechat/plugins/weechat-notification-center/notification_center.py
- .weechat/python/autoload/notification_center.py
- .weechat/python/autoload/wee_slack.py
- .weechat/script.conf
- .weechat/weechat.conf
- .weechat/weechat.png
- .weechat/xfer.conf
homebrew_installed_packages:
# Install GNU packages.
# https://www.topbug.net/blog/2013/04/14/install-and-use-gnu-command-line-tools-in-mac-os-x/
- coreutils
- binutils
- diffutils
- { name: ed, install_options: "default-names" }
- { name: findutils, install_options: "with-default-names" }
- gawk
- { name: gnu-indent, install_options: "with-default-names" }
- { name: gnu-sed, install_options: "with-default-names" }
- { name: gnu-tar, install_options: "with-default-names" }
- { name: gnu-which, install_options: "with-default-names" }
- gnutls
- { name: grep, install_options: "with-default-names" }
- gzip
- screen
- watch
- { name: wdiff, install_options: "with-gettext" }
- wget
# Update GNU pre-installed packages.
- bash
- emacs
- gdb
- gpatch
- less
- m4
- make
- nano
# Update non-GNU pre-installed packages.
- { name: curl, install_options: "with-nghttp2" }
- file-formula
- git
- openssh
- perl
- python
- rsync
- svn
- unzip
# Some other GNU tools.
- autoconf # build tool
- gettext # gnu translation tool @todo link
- gpg # gnu privacy guard
- readline # gnu readline
# More terminal tools.
- git-standup # recall what you did on the last working day
- httpie # cli http client
- iperf # bandwidth benchmarking
- lynx # browser
- nmap # network mapper
- openssl # ssl/tls toolkit
- p7zip # 7 zip
- pigz # parallel gzip
- pv # pipe viewer
- { name: weechat, install_options: "with-perl,with-python,with-lua" }
- wrk # http benchmarking
- zopfli # zopfli compression
# Programming languages
- lua
- node
- go
- { name: php71, install_options: "with-pear,without-fpm" }
- python3
- ruby
# Libraries
- luajit # required by vim
- duti # required by tasks/default-applications.yml
# Essential development tools/libraries.
- { name: base16-shell, install_options: "HEAD" } # base16 colors in shell
- { name: chunkwm, install_options: "without-border" } # tiling window manager
- exa # ls replacement
- fasd # autojump
- fzf # fuzzy finder
- khd # hotkey daemon
- massren # mass renaming in vim
- mosh # mobile shell
- rename # regex rename
- ssh-copy-id # send public key to remote
- the_silver_searcher # ag, faster than ack
- tree # recursive directory listing
- { name: vim, install_options: "with-luajit,without-ruby,with-override-system-vi" }
- neovim # the new vim
# Package managers
- composer
# Shell completions
- bash-completion2 # bash 4
- cap-completion # capistrano
- open-completion # open
- vagrant-completion # vagrant
- wpcli-completion # wp-cli
# Image/Video tools
- exiv2
- name: ffmpeg
install_options: "with-fdk-aac,with-ffplay,with-freetype,with-libass,with-libquvi,with-libvorbis,with-libvpx,with-opus,with-x265,with-theora"
- gifsicle
- { name: imagemagick, install_options: "with-webp" }
- mozjpeg
- optipng
- pngcheck
- webp
# Install font tools.
- sfnt2woff
- sfnt2woff-zopfli
- woff2
homebrew_taps:
- bramstein/webfonttools # font tools
- caskroom/cask # casks
- caskroom/fonts # inconsolata font
- caskroom/versions # iterm2-beta
- crisidev/homebrew-chunkwm # chunkwm
- homebrew/core #
- homebrew/php #
- koekeishiya/formulae # chunkwm, khd
- laurent22/massren # massren
- oxyc/custom # base16-shell, kitty
- neovim/neovim # neovim
homebrew_cask_apps:
- alfred # launcher
- adobe-dng-converter # arw -> dng
- clipy # clipboard manager
- docker # work
- filezilla # ftp gui
- firefox # crossbrowser testing
- font-inconsolata-dz-for-powerline # dev font
- google-chrome # primary browser
- iina # movie player
- iterm2-beta # beta for no-window-bar
- lastpass # browser plugins
- macdown # markdown editor
- macvim # text editor
- playmemories-home # sony camera
- skype # work
- slack # work
- sublime-text # work
- transmission # torrents
- vagrant # work
- virtualbox # work
# Quick Look plugins
- qlcolorcode # syntax highlighting
- qlstephen # files without file extensions
- qlmarkdown # markdown
- quicklook-json # json
- quicklook-csv # csv
- qlimagesize # display image size and resolution
- webpquicklook # webp
homebrew_services:
- khd # hotkey daemon
osx_script: ~/.osx/osx.sh
composer_packages:
- name: hirak/prestissimo # parallel composer downloads
- name: wp-cli/wp-cli # wp cli tool
- { name: drush/drush, version: '^8.1' } # drupal cli tool
- name: asm89/twig-lint # vim linter for twig
npm_packages:
- name: yarn # package manager
- name: webpack # build tool
- name: bower # package manager
- name: gulp # build tool
- name: svgo # svg minifier
- name: jsonlint # vim linter for json
- name: markdownlint-cli # vim linter for markdown
- name: eslint # vim linter for javascript
- name: eslint-plugin-import # dependency of global eslint
gem_packages:
- name: bundler # package manager
- name: capistrano # deploy tool
- name: jekyll # github pages
- name: jekyll-feed # github pages
- name: rubocop # drupal vm lint
- name: neovim # ruby provider for neovim
- name: sass # vim linter for sass
pip_packages:
- name: mkdocs # drupal vm docs
- { name: neovim, executable: pip2 } # python2 provider for neovim
- { name: neovim, executable: pip3 } # python3 provider for neovim
- name: ansible-lint # vim linter for ansible
- name: yamllint # vim linter for bash
- name: proselint # vim linter for text
- name: pync # weechat notification_center plugin
- name: websocket-client # weechat wee_slack plugin
luarocks_packages:
- name: lua-cjson # weechat matrix plugin
post_provision_tasks: "{{ playbook_dir }}/../tasks/*.yml"
# fubarhouse.macdock settings.
dockitems_disabled:
- Launchpad
- Mail
- Safari
- Contacts
- Notes
- Reminders
- Maps
- Photos
- Messages
- FaceTime
- iTunes
- iBooks
- App Store
- System Preferences
- Calendar
- Terminal
dockitems_enabled:
- name: Google Chrome
path: "/Applications/Google Chrome.app"
pos: 1
- name: Slack
path: "/Applications/Slack.app"
pos: 2
- name: iTerm
path: "/Applications/iTerm.app"
pos: 3
- name: Activity Monitor
path: "/Applications/Utilities/Activity Monitor.app"
pos: 4
# Variables used across tasks/*.yml
local_user: "{{ ansible_env.SUDO_USER | default(ansible_env.USER, true) | default(ansible_user_id, true) }}"
# tasks/vagrant.yml settings.
vagrant_plugins_force_install: false
vagrant_plugins:
- vagrant-hostsupdater
- vagrant-vbguest
# tasks/vim.yml settings.
vimrc_repo: https://github.com/oxyc/vimrc.git
vimrc_repo_local_destination: ~/Projects/Personal/vimrc
# tasks/iterm2.yml settings.
iterm2_enable_automatic_updates: true
iterm2_preference_folder: "{{ playbook_dir }}/../files"
# tasks/default-applications.yml
default_applications:
# Iina
- { extension: avi, handler: com.colliderli.iina }
- { extension: flv, handler: com.colliderli.iina }
- { extension: mkv, handler: com.colliderli.iina }
- { extension: mov, handler: com.colliderli.iina }
- { extension: mp4, handler: com.colliderli.iina }
- { extension: mpg, handler: com.colliderli.iina }
# MacDown
- { extension: md, handler: com.uranusjr.macdown }
# Chrome
- { extension: html, handler: com.google.Chrome, roles: '' }
- { extension: xml, handler: com.google.Chrome }
# MacVim
- { extension: cfg, handler: org.vim.MacVim }
- { extension: css, handler: org.vim.MacVim }
- { extension: inc, handler: org.vim.MacVim }
- { extension: js, handler: org.vim.MacVim }
- { extension: json, handler: org.vim.MacVim }
- { extension: php, handler: org.vim.MacVim }
- { extension: scss, handler: org.vim.MacVim }
- { extension: txt, handler: org.vim.MacVim }
- { extension: yml, handler: org.vim.MacVim }
# tasks/iina.yml settings.
iina_keybinding_file: "{{ playbook_dir }}/../files/Iina.keybindings.conf"
# tasks/git.yml settings.
git_user_name: "Oskar Schöldström"
git_user_email: [email protected]
git_signingkey: B1E80EF9EBBB2973
git_github_user: oxyc