-
Notifications
You must be signed in to change notification settings - Fork 0
/
install.conf.yaml
185 lines (184 loc) · 6.05 KB
/
install.conf.yaml
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
---
- clean: ['~']
# work specific files
- link:
~/.Brewfile:
if: '[[ $(hostname -f) == *"linkedin.biz"* ]]'
path: ${HOME}/.dotfiles_work/Brewfile
relink: true
~/.ssh/config.custom:
if: '[[ $(hostname -f) == *"linkedin.biz"* ]]'
path: ${HOME}/.dotfiles_work/ssh_config.custom
create: true
~/.gitconfig:
if: '[[ $(hostname -f) == *"linkedin.biz"* ]]'
path: ${HOME}/.dotfiles_work/gitconfig
~/scripts:
if: '[[ $(hostname -f) == *"linkedin.biz"* ]]'
path: ${HOME}/.dotfiles_work/scripts/
create: true
~/bitbar:
if: '[[ $(hostname -f) == *"linkedin.biz"* ]]'
path: ${HOME}/.dotfiles_work/bitbar/
create: true
~/Library/Application Support/xbar/plugins:
if: '[[ $(hostname -f) == *"linkedin.biz"* ]]'
path: ${HOME}/.dotfiles_work/bitbar/
create: true
~/bin_li:
if: '[[ $(hostname -f) == *"linkedin.biz"* ]]'
path: ${HOME}/.dotfiles_work/bin_li
create: true
# NAS specific files
- link:
~/docker-compose.yml:
if: '[[ $(hostname -f) == *"ShitHolder2"* ]]'
path: ${HOME}/.dotfiles_personal/synology_config/docker-compose.yml
relink: true
# PVE specific files
- link:
~/pve_scripts:
if: '[[ $(hostname -f) == *"pve"* ]]'
path: ${HOME}/.dotfiles_personal/pve_scripts
relink: true
# media-docker specific files
- link:
~/media-docker_config:
if: '[[ $(hostname -f) == *"media-docker"* ]]'
path: ${HOME}/.dotfiles_personal/media-docker_config
relink: true
# home or shared files
- link:
~/.bash_profile: bash_profile
~/.bashrc: bashrc
~/.profile: profile
~/.gitconfig:
if: '[[ $(hostname -f) != *"linkedin.biz"* ]]'
path: gitconfig
~/.gitignore_global: gitignore_global
~/.vimrc: vimrc
~/.doom.d: doom.d
~/.ideavimrc: ideavimrc
~/.Brewfile:
if: '[[ $(hostname -f) != *"linkedin.biz"* ]]'
path: Brewfile
relink: true
~/.fzf.bash: fzf.bash
~/.tmux.conf: tmux.conf
~/.skhdrc: skhdrc
~/.yabairc: yabairc
~/.inputrc: inputrc
~/.editrc: editrc
~/.Xmodmap: Xmodmap
~/scripts:
if: '[[ $(hostname -f) != *"linkedin.biz"* ]]'
path: scripts/
create: true
~/.vim:
path: vim/
create: true
~/.ssh/config:
# ssh_config at work is managed automatically
if: '[[ $(hostname -f) != *"linkedin.biz"* ]]'
path: ssh_config
create: true
~/.bash-git-prompt:
path: bash-git-prompt/
create: true
~/.gnupg/scdaemon.conf:
if: '[[ $(hostname -f) != *"linkedin.biz"* ]]'
path: gnupg/scdaemon.conf
create: true
~/.gnupg/gpg.conf:
if: '[[ $(hostname -f) != *"linkedin.biz"* ]]'
path: gnupg/gpg.conf
create: true
~/.gnupg/gpg-agent.conf:
if: '[[ $(hostname -f) != *"linkedin.biz"* ]]'
path: gnupg/gpg-agent.conf
create: true
# ~/.vim/colors/solarized.vim:
# path: solarized/vim-colors-solarized/colors/solarized.vim
# create: true
# force: true
~/bin:
path: bin/
create: true
~/.config/nvim:
path: config/nvim
create: true
~/.config/deluge/hostlist.conf.1.2:
if: '[[ $(hostname -f) != *"linkedin.biz"* ]]'
path: config/deluge/hostlist.conf.1.2
create: true
~/.config/deluge/core.conf:
if: '[[ $(hostname -f) != *"linkedin.biz"* ]]'
path: config/deluge/core.conf
create: true
~/Library/Application Support/Code/User/settings.json:
path: vscode-settings.json
create: true
~/bitbar:
if: '[[ $(hostname -f) != *"linkedin.biz"* ]]'
path: bitbar/
create: true
~/Library/Application Support/xbar/plugins:
if: '[[ $(hostname -f) != *"linkedin.biz"* ]]'
path: bitbar/
create: true
~/.config/kyrat:
path: config/kyrat
create: true
~/.config/topgrade.toml:
path: config/topgrade.toml
create: true
- shell:
# - this might not be needed, remove after confirming
# description: "Installing submodules"
# command: "git submodule update --init --recursive"
# stdout: true
# stderr: true
# stdin: true
# May no longer be necesssary, now that submodules are periodically updated by github actions
# -
# description: "Updating/installing submodules"
# command: "git submodule update --init --remote --recursive --merge"
# stdout: true
# stderr: true
# stdin: true
- description: "Updating work specific private repo"
command: 'if [[ $(hostname -f) == *"linkedin.biz"* ]]; then cd ~/.dotfiles_work/ && git pull && cd -; fi'
stdout: true
stderr: true
stdin: true
- description: "Updating personal specific private repo"
command: 'if [[ $(hostname -f) != *"linkedin.biz"* ]] && [[ -d ~/.dotfiles_personal ]]; then cd ~/.dotfiles_personal/ && git pull && cd -; fi'
stdout: true
stderr: true
stdin: true
- description: "Installing fzf binary"
command: "./fzf/install --bin"
stdout: true
stderr: true
stdin: true
# -
# description: "Installing packages via 'brew bundle --global'. Run 'brew bundle dump --describe --force --global' to update with currently installed packages."
# command: "brew bundle --global || { echo 'Homebrew not installed, this is probably linux'; }"
# stdout: true
# stderr: true
# stdin: true
- description: "Upgrading installed packages via brew upgrade, if on macos"
command: 'if [[ $(uname -s) == "Darwin" ]]; then brew upgrade; fi'
stdout: true
stderr: true
stdin: true
- description: "Upgrading installed packages via mas upgrade, if on macos"
command: 'if [[ $(uname -s) == "Darwin" ]]; then mas upgrade; fi'
stdout: true
stderr: true
stdin: true
- description: "Installing vim plugins"
command: "nvim +PluginInstall +qall"
stdout: true
stderr: true
stdin: true