-
Notifications
You must be signed in to change notification settings - Fork 0
/
install.conf.yaml
114 lines (109 loc) · 3.28 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
- defaults:
link:
relink: true
create: true
- clean: ['~']
- link:
~/.dotfiles: ""
~/.zshrc: config/zshrc
# ~/.kube/config: /dev/null
~/.ansible.cfg: config/ansible.cfg
~/.ripgreprc: config/ripgreprc
~/.Renviron: config/Renviron
~/.gitconfig:
path: config/git/git.conf
~/.git-templates/:
path: config/git/git-templates/
~/.config/kitty/:
path: config/kitty
~/.config/alacritty/alacritty.toml:
path: config/alacritty.toml
~/.config/k9s:
if: '[ `uname` != Darwin ]'
path: config/k9s
~/Library/Application Support/k9s:
if: '[ `uname` = Darwin ]'
path: config/k9s
~/.config/nvim/:
path: config/neovim/
~/.config/atuin/config.toml:
path: config/atuin.toml
~/.ssh/config:
path: config/ssh.conf
# tmux
~/.config/tmux/tmux.conf:
path: config/tmux.conf
~/.config/tmux/plugins/tpm/:
path: tools/tmux-tpm/
# Mac only
~/.config/zed/settings.json:
path: config/zed.json
# Linux only
~/.config/yay/config.json:
if: '[ `uname` != Darwin ]'
path: config/yay.json
~/.vnc/config:
if: '[ `uname` != Darwin ]'
path: config/vnc.config
~/.config/i3/config:
if: '[ `uname` != Darwin ]'
path: config/i3.config
~/.config/picom/picom.conf:
if: '[ `uname` != Darwin ]'
path: config/picom.conf
~/.config/polybar/config.ini:
if: '[ `uname` != Darwin ]'
path: config/polybar/polybar.ini
~/.config/dunst/dunstrc:
if: '[ `uname` != Darwin ]'
path: config/dunst.conf
~/.config/rofi/:
if: '[ `uname` != Darwin ]'
path: config/rofi/
~/.config/xsettingsd/:
if: '[ `uname` != Darwin ]'
path: config/xsettingsd/
- create:
- ~/.local/bin
- ~/.config/r
- create:
~/.ssh:
mode: 0700
~/.ssh/keys/:
mode: 0700
~/.ssh/config.d/:
mode: 0700
- shell:
- [git submodule update --init --recursive, Installing submodules]
-
- envsubst < ~/.dotfiles/config/kitty/macos-launch-services-cmdline-template > ~/.dotfiles/config/kitty/macos-launch-services-cmdline
- Generation kitty macos-launch-services-cmdline
# Configurable non-tracked files templates
-
- '[ -f ~/.zsh-additional-rc ] || cat ~/.dotfiles/additional-template/.zsh-additional-rc >> ~/.zsh-additional-rc'
- Initialize zsh additional configs
-
- '[ -f ~/.git-additional.config ] || cat ~/.dotfiles/additional-template/.git-additional.config >> ~/.git-additional.config'
- Initialize git additional configs
# NVIM Related installs
-
description: Install nvm latest node
command: source $NVM_DIR/nvm.sh && nvm install node && node --version
stderr: true
-
description: Install nvim plugins
command: nvim --headless +"lua require('lazy').install()" +qa
stderr: true
-
description: Update nvim TreeSetter
command: nvim --headless -c "TSUpdate" -c qall
stderr: true
# Misc
-
description: Set default browser as firefox
command: 'if [ `uname` != Darwin ]; then xdg-settings set default-web-browser $(ls /usr/share/applications/ | grep firefox | head -n 1 -); fi'
stderr: true
-
description: Install tmux plugins using tpm
command: ~/.dotfiles/tools/tmux-tpm/bin/install_plugins
stderr: true