-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall.conf.yaml
45 lines (39 loc) · 1.01 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
- defaults:
link:
create: true
relink: true
- clean: ['~', '~/.config']
- create:
- ~/.config
- ~/.ssh
- ~/src
- link:
~/.gitconfig: gitconfig
~/.dotfiles: ''
~/.config/nvim: nvim
~/.tmux.conf: tmux.conf
~/.tmux: tmux
~/.zsh: zsh
~/.zshrc: zshrc
~/bin/public: bin
~/assets/public: assets
- shell:
- [git submodule update --init --recursive, Installing submodules]
- [tmux/plugins/tpm/bin/install_plugins, Installing tmux TPM plugins]
# Install apt packages if on Linux
- if:
- cond: '[[ "$(uname)" == "Linux" ]]'
met:
- shell:
- description: sudo apt install the packages we want
command: |
sudo apt update
sudo apt install -y $(cat apt_packages.txt)
# Install homebrew packages and pip's argcomplete if on macOS
- if:
- cond: '[[ "$(uname)" == "Darwin" ]]'
met:
- shell:
- brew bundle install --file=Brewfile
- shell:
- command: pip3 install argcomplete --break-system-packages