-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathexample.yml
307 lines (289 loc) · 6.18 KB
/
example.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
---
# Main
##########
full_name: "Sam Oehlert"
usernm: "{{ ansible_env.USER }}"
groupnm: "staff"
email: "[email protected]"
hostname: "Macbook-Pro"
home_dir: "/Users/{{ usernm }}"
downloads_dir: "{{home_dir}}/Downloads"
projects_dir: "{{ home_dir }}/projects"
python_env_dir: "{{ home_dir }}/.envs"
ssh_dir: "{{ home_dir }}/.ssh"
login_shell: "/bin/zsh"
# OSX_Base
##########
search_domains_use: true
ssh_key_name: "{{ ssh_dir }}/id_rsa"
search_domain_service: "Wi-Fi"
search_domains: "soehlert.com samoehlert.com internal.sjo"
create_dirs:
- {path: "{{projects_dir}}/personal", mode: "0755"}
- {path: "{{projects_dir}}/work", mode: "0755"}
- {path: "{{ssh_dir}}", mode: "0700"}
- {path: "{{python_env_dir}}", mode: "0700"}
- {path: "{{downloads_dir}}/Compressed", mode: "0755"}
- {path: "{{downloads_dir}}/IMG", mode: "0755"}
- {path: "{{downloads_dir}}/Important", mode: "0755"}
- {path: "{{downloads_dir}}/Music", mode: "0755"}
- {path: "{{downloads_dir}}/PDF", mode: "0755"}
- {path: "{{downloads_dir}}/Pics", mode: "0755"}
- {path: "{{downloads_dir}}/Text", mode: "0755"}
- {path: "{{downloads_dir}}/Video", mode: "0755"}
- {path: "{{downloads_dir}}/Work", mode: "0755"}
# Git
##########
# Clone all repos from a given user
github: true
github_user: "soehlert"
# If you use 2FA, create a personal access token allowing admin:public_key
# https://github.com/settings/tokens -> Personal access tokens
github_password: ''
github_2fa: true
# Dotfiles
##########
# This clones dotfiles from the repo listed below and stows them
# (assumes the use of gnu stow and a specific layout of dotfiles repo)
dotfiles: true
# I have my dotfiles broken up by home/work/server this allows me to
# use different dotfiles depending on the host I'm installing them on
dotfiles_env: "home"
dotfiles_dir: "{{ home_dir }}/dotfiles"
# yamllint disable-line rule:line-length
dotfiles_repo: "https://{{ github_user | urlencode }}:{{ github_password }}@github.com/{{ github_user }}/dotfiles.git"
dotfiles_version: 98ecc1a
# MAS
##########
# Install apps from the mac app store
mas: true
mas_email: "[email protected]"
mas_signin_dialog: true
mas_upgrade_all_apps: true
mas_installed_apps:
- {id: 1475387142, name: "Tailscale"}
- {id: 634148309, name: "Logic Pro"}
- {id: 1474276998, name: "HP Smart for Desktop"}
# Defaults
##########
# Make a lot of tweaks to the the base OS. Also organizes the dock.
defaults: true
finder_new_window_path: "file://{{ home_dir }}"
screenshots_dir: "{{ home_dir }}/Downloads/Pics"
timezone: "America/Chicago"
dockitems_remove_all: true
dockutil_desired:
- name: 1password
path: "/Applications/1password.app"
pos: 2
- name: iTerm
path: "/Applications/iterm.app"
pos: 3
- name: Brave
path: "/Applications/Brave Browser.app"
pos: 4
- name: Slack
path: "/Applications/Slack.app"
pos: 5
- name: PyCharm
path: "/Applications/PyCharm.app"
pos: 6
- name: System Preferences
path: "/Applications/System Preferences.app"
pos: 9
dockutil_desired_right:
- name: Applications
path: '/Applications'
pos: 7
view: auto
display: stack
sort: name
section: others
- name: Utilities
path: '/Applications/Utilities'
pos: 9
view: auto
display: stack
sort: name
section: others
- name: Home
path: '/Users/{{ usernm }}'
pos: 10
view: auto
display: folder
sort: name
section: others
- name: Downloads
path: '/Users/{{ usernm }}/Downloads'
pos: 11
view: grid
display: folder
sort: name
sections: other
login_items:
- name: 1password
path: /Applications/1password.app
hidden: true
- name: Alfred 3
path: /Applications/Alfred 5.app
hidden: true
- name: Bartender 3
path: /Applications/Bartender 5.app
hidden: false
- name: Brave Browser
path: /Applications/Brave Browser.app
hidden: false
- name: Plexamp
path: /Applications/Plexamp.app
hidden: false
- name: Rectangle
path: /Applications/Rectangle.app
hidden: false
# Update
##########
reboot: true
# Vim
##########
# Install my vim plugins
vimplug: true
vim_plug_dir: "{{ home_dir }}/.vim/plugged"
vimplug_install: true
# Wallpaper
##########
# Install my desktop background
wallpaper: false
wallpaper_file: "{{ dotfiles_dir }}/common/wallpaper.jpg"
# Sudo TouchID
##########
# Use touchID for sudo
sudo_tid: true
# Homebrew
##########
# Install applications from homebrew
homebrew: true
homebrew_brew_bin_path: "/opt/homebrew/Cellar"
homebrew_use_brewfile: true
homebrew_brewfile_dir: "~/.config/"
homebrew_taps:
- "buo/cask-upgrade"
- "homebrew/bundle"
- "homebrew/services"
homebrew_installed_packages:
- asciinema
- bat
- cask
- colima
- cookiecutter
- coreutils
- cruft
- curl
- dockutil
- duf
- fd
- ffmpeg
- flac
- flake8
- fzf
- gawk
- git
- git-extras
- git-secrets
- glances
- gnu-tar
- go
- htop
- iperf3
- iproute2mac
- jq
- jump
- lame
- lazydocker
- lazygit
- mackup
- mas
- mtr
- ncurses
- neofetch
- netcat
- nmap
- openssh
- openssl
- opus
- organize-tool
- p7zip
- pgcli
# pipx is REQUIRED to install pip packages globally here
- pipx
- pip-completion
- pre-commit
- pyenv
- pyenv-virtualenv
- pyenv-virtualenvwrapper
- readline
- reattach-to-user-namespace
- rectangle
- ripgrep
- ruby
- rust
- socat
- sqlite
- sqlmap
- ssh-copy-id
- stow
- telnet
- tmux
- tmuxp
- tree
- vim
- wallpaper
- wget
- wtfutil
- youtube-dl
- zplug
- zsh
- zsh-completions
- zsh-syntax-highlighting
homebrew_cask_apps:
- 1password
- 1password-cli
- alfred
- anki
- appcleaner
- applepi-baker
- bartender
- brave-browser
- firefox
- font-source-code-pro-for-powerline
- google-drive
- handbrake
- iterm2
- lunar
- monolingual
- multipass
- musaicfm
- musicbrainz-picard
- notion
- openzfs
- plexamp
- pycharm
- rectangle
- slack
- stay
- steam
- the-unarchiver
homebrew_blacklisted_packages: []
pip3_packages:
- black
- commitizen
- gitlint
- httpie
- organize-tool
- pipenv
- pipupgrade
- setuptools
- shallow-backup
- tmuxp
- virtualenv
- virtualenvwrapper
- wheel