-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
install.conf.yaml
124 lines (106 loc) · 3.07 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
---
- defaults:
link:
create: true
relink: true
- clean: ["~"]
- create:
~/.ssh:
mode: 0700
~/.ssh/config.d:
~/.local:
mode: 0700
~/.local/share/fonts:
~/.local/bin:
~/.cache:
~/.config:
mode: 750
- shell:
- - git submodule sync --recursive
- Installing submodules
- - git submodule update
--recursive
--init
--checkout
--no-recommend-shallow
--force
--jobs 4
--progress
- Checkouting submodules
# main repo goes first, you know gotta be careful here
- link:
~/.dotfiles: ""
# envs have to be set here, otherwise plugins are being linked first
# which makes ~/.*env created as regular directory
- link:
~/.nodenv: dependencies/nodenv
~/.pyenv: dependencies/pyenv
~/.goenv: dependencies/goenv
~/.jenv: dependencies/jenv
# system files
- shell:
- command: test -f /etc/docker/daemon.json || sudo -n install -m 644 etc/docker/daemon.json /etc/docker/daemon.json
stderr: true
- link:
# ssh config
~/.ssh/config: ssh/config
~/.ssh/config.d/00-defaults.config: ssh/config.d/00-defaults.config
~/.ssh/config.d/01-github.config: ssh/config.d/01-github.config
~/.ssh/config.d/02-aws-ec2-ssm.config: ssh/config.d/02-aws-ec2-ssm.config
# git stuff
~/.gitignore: gitignore
~/.gitattributes: gitattributes
~/.gitconfig:
path: gitconfig
if: |
[[ ${CI:-False} ]] && exit 0 || exit 1
~/.git_template: git_template
# zsh stuff
~/.zshrc:
path: zsh/zshrc
force: true
~/.zlogin: zsh/zlogin
~/.zprofile: zsh/zprofile
~/.zshenv: zsh/zshenv
~/.p10k.zsh: zsh/p10k.zsh
~/.zinit: dependencies/zinit
# fzf
~/.fzf.settings: fzf.settings
# go
~/.goenv/plugins/xxenv-latest: dependencies/xxenv-latest
# node
~/.npmrc.sh: npmrc.sh
~/.nodenv/plugins/xxenv-latest: dependencies/xxenv-latest
~/.nodenv/plugins/node-build: dependencies/node-build
~/.nodenv/plugins/nodenv-aliases: dependencies/nodenv-aliases
~/.nodenv/plugins/nodenv-package-json-engine: dependencies/nodenv-package-json-engine
~/.nodenv/plugins/nodenv-package-rehash: dependencies/nodenv-package-rehash
~/.nodenv/plugins/nodenv-each: dependencies/nodenv-each
# python
~/.pdbrc: .pdbrc
~/.pyenv/plugins/xxenv-latest: dependencies/xxenv-latest
~/.pyenv/plugins/pyenv-virtualenv: dependencies/pyenv-virtualenv
~/.pyenv/plugins/pyenv-ccache: dependencies/pyenv-ccache
~/.pyenv/plugins/pyenv-doctor: dependencies/pyenv-doctor
~/.pyenv/plugins/pyenv-which-ext: dependencies/pyenv-which-ext
# ctags
~/.ctags.d: ctags.d
# gpg-agent
~/.gnupg/gpg-agent.conf: gpg-agent.conf
# custom application/tools configuration
~/.config:
glob: true
force: true
path: config/*
# custom binaries
~/.local/bin:
glob: true
path: bin/*
# X*
~/.Xresources:
force: true
path: .XResources
# PAM env
~/.pam_environment: .pam_environment
# mycli configuration
~/.myclirc: myclirc