-
Notifications
You must be signed in to change notification settings - Fork 7
/
setup.sh
executable file
·116 lines (98 loc) · 2.66 KB
/
setup.sh
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
#!/usr/bin/env bash
# shellcheck disable=SC2215
DOTFILE_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
DOTFILE_FILES_DIR=files
# shellcheck source=scripts/lib/setup.sh
source "$DOTFILE_DIR/scripts/lib/setup.sh"
run: submodule updates
- git submodule --quiet update --init
install: Nix config
- .config/nix/nix.conf
- .config/nixpkgs/config.nix
- .config/nixpkgs/overlays/dotfiles.nix
install: shell config
- .bash_profile
- .bashrc
- .bash_logout
- .zshenv
- .zshrc
- .zlogout
- .inputrc
- .local/share/zsh/fzf-sources
- .local/share/zsh/site-functions
- .local/share/zsh/snippets/common
- .local/share/zsh/snippets/linux
- .local/share/zsh/snippets/dotfiles/common.md
- .local/share/zsh/snippets/dotfiles/linux.md
- .local/opt/tldr
install: Vim config
- .vim
- download: \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim \
~/.vim/autoload/plug.vim
install: Neovim config
- skip: true # It's installed by Home Manager
- .config/nvim/init.lua
install: Git config
- .config/git/attributes
- .config/git/config
- .config/git/ignore
- .config/tig/config
- .local/bin/git-deploy
- .local/bin/git-kitty
install: SSH config
- shell: install -d -m 700 ~/.ssh ~/.ssh/sockets
- chmod: 700 .ssh
- .ssh/config
- .ssh/config.d/10-canonicalize.conf
- .ssh/config.d/80-git.conf
- .ssh/config.d/90-general.conf
- .ssh/config.d/90-multiplexing.conf
- .local/bin/rcd
install: container config
- .config/containers/containers.conf
- .config/distrobox/distrobox.conf
- .local/libexec/distrobox/nix.sh
install: GDB config
- .gdbinit
- .local/bin/gef
- .local/bin/peda
install: LaTeX config
- .config/latexmk/latexmkrc
- .local/bin/platexmk
- .local/bin/uplatexmk
install: Emacs config
- github: doomemacs/doomemacs ~/.config/emacs
- .config/doom/init.el
- .config/doom/config.org
- .config/doom/packages.el
install: VSCode config
- shell: install -d -m 700 ~/.config/Code
- .config/Code/User/settings.json
install: miscellaneous config
- .clang-format
- .editrc
- .prettierrc
- .screenrc
- .wgetrc
- .xprofile
- .Xresources
- .config/bat/config
- .config/broot/conf.hjson
- .config/broot/launcher/refused
- .config/gem/gemrc
- .config/ideavim/ideavimrc
- .config/ipython/profile_default/ipython_config.py
- .config/kitty/kitty.conf
- .config/nano/nanorc
- .config/ranger/rc.conf
- .config/ranger/scope.sh
- .config/tmux/tmux.conf
- .config/zathura/zathurarc
# The following will not run unless --init is specified
run: package installation
- init: true
- ~/.config/emacs/bin/doom -y install --no-config
githooks:
- init: true
- post-receive