|
|
|
[run submodules]
|
|
|
|
when: host.has('git')
|
|
|
|
cmd: git submodule init
|
|
|
|
|
|
|
|
[home git-prefs]
|
|
|
|
when: host.has('git')
|
|
|
|
files:
|
|
|
|
.gitconfig
|
|
|
|
|
|
|
|
[home bash-prefs]
|
|
|
|
when: host.has('bash')
|
|
|
|
files:
|
|
|
|
.bash_profile
|
|
|
|
.bashrc
|
|
|
|
|
|
|
|
[home zsh-prefs]
|
|
|
|
when: host.has('zsh')
|
|
|
|
files:
|
|
|
|
.zshrc
|
|
|
|
.zshenv
|
|
|
|
.zprofile
|
|
|
|
.zlogin
|
|
|
|
|
|
|
|
[git vim-lsp]
|
|
|
|
when: host.has('vim')
|
|
|
|
repo: https://github.com/yegappan/lsp
|
|
|
|
target: ~/.vim/pack/downloads/opt/lsp
|
|
|
|
|
|
|
|
[home vim]
|
|
|
|
when: host.has('vim')
|
|
|
|
files:
|
|
|
|
vim/ftplugin > .vim/ftplugin
|
|
|
|
vim/plug.vim > .vim/autoload/plug.vim
|
|
|
|
vimrc > .vimrc
|
|
|
|
|
|
|
|
[home kitty]
|
|
|
|
when: host.has('kitty')
|
|
|
|
files:
|
|
|
|
kitty/kitty.conf > .config/kitty/kitty.conf
|
|
|
|
|
|
|
|
# We only need the kitty.desktop config on linux, that's like a linux desktop
|
|
|
|
# manager thing
|
|
|
|
[home kitty-desktop]
|
|
|
|
when: host.has('kitty') and host.is_linux
|
|
|
|
files:
|
|
|
|
desktop/kitty.desktop > .local/share/applications/kitty.desktop
|
|
|
|
|
|
|
|
[home wezterm]
|
|
|
|
when: host.has('WezTerm.app')
|
|
|
|
files:
|
|
|
|
wezterm/config.lua > .wezterm.lua
|
|
|
|
|
|
|
|
[link-files nix-config]
|
|
|
|
when: host.has('nix')
|
|
|
|
target_root: ~/.config
|
|
|
|
files:
|
|
|
|
nix/nix.conf
|
|
|
|
|
|
|
|
[link-files rofi]
|
|
|
|
when: host.has('rofi')
|
|
|
|
target_root: ~/.config
|
|
|
|
files:
|
|
|
|
rofi
|
|
|
|
|
|
|
|
# This needs to be run, but it's really annoying when you run the installer
|
|
|
|
# from within Vim because it tries to do this recursive Vim thing that does not
|
|
|
|
# work, so I'd rather just run it by hand.
|
|
|
|
[run vim-plugins]
|
|
|
|
when: host.has('vim')
|
|
|
|
cmd: vim +PlugInstall +qall
|
|
|
|
|
|
|
|
# [link-files neovim:windows]
|
|
|
|
# when: host.is_windows and host.has('nvim')
|
|
|
|
# target_root: ~/AppData/Local
|
|
|
|
# files:
|
|
|
|
# nvim/lua
|
|
|
|
# nvim/init.vim
|
|
|
|
|
|
|
|
[home neovim:not-windows]
|
|
|
|
when: host.has('nvim') and not host.is_windows
|
|
|
|
files:
|
|
|
|
nvim/init.lua > .config/nvim/init.lua
|
|
|
|
nvim/lua > .config/nvim/lua
|
|
|
|
nvim/after > .config/nvim/after
|
|
|
|
|
|
|
|
[git packer-posix]
|
|
|
|
when: not host.is_windows
|
|
|
|
repo: https://github.com/wbthomason/packer.nvim
|
|
|
|
target: ~/.local/share/nvim/site/pack/packer/start/packer.nvim
|
|
|
|
|
|
|
|
# [git packer-windows]
|
|
|
|
# when: host.is_windows
|
|
|
|
# repo: https://github.com/wbthomason/packer.nvim
|
|
|
|
# target: ~/AppData/Local/nvim-data/site/pack/packer/start/packer.nvim
|
|
|
|
|
|
|
|
[home cargo]
|
|
|
|
when: host.has('cargo')
|
|
|
|
files: cargo-config.toml > .cargo/config.toml
|
|
|
|
|
|
|
|
[home htop]
|
|
|
|
when: host.has('htop')
|
|
|
|
files: .config/htop/htoprc
|
|
|
|
|
|
|
|
[home lazydocker-linux]
|
|
|
|
when: host.is_linux and host.has('lazydocker')
|
|
|
|
files: .config/lazydocker/config.yml
|
|
|
|
|
|
|
|
[home lazydocker-mac]
|
|
|
|
when: host.is_darwin and host.has('lazydocker')
|
|
|
|
files:
|
|
|
|
.config/lazydocker/config.yml > Library/Application Support/jesseduffield/lazydocker/config.yml
|
|
|
|
|
|
|
|
[home screenrc]
|
|
|
|
when: host.has('screen')
|
|
|
|
files: .screenrc
|
|
|
|
|
|
|
|
[home tmux]
|
|
|
|
when: host.has('tmux')
|
|
|
|
files: .tmux.conf
|
|
|
|
|
|
|
|
[home wsl]
|
|
|
|
when: host.is_wsl
|
|
|
|
files: scripts/winmode > bin/winmode
|
|
|
|
|
|
|
|
[link-files vscode:windows]
|
|
|
|
when: host.is_windows and host.has('code')
|
|
|
|
target_root: ~/AppData/Roaming
|
|
|
|
files:
|
|
|
|
code-settings.json > Code/User/settings.json
|
|
|
|
|
|
|
|
[home k9s-skin]
|
|
|
|
when: host.has('k9s')
|
|
|
|
files: k9s/skin.yml > .config/k9s/skin.yml
|
|
|
|
|
|
|
|
[cargo-install]
|
|
|
|
crates:
|
|
|
|
just
|
|
|
|
cargo-watch
|
|
|
|
cargo-get
|
|
|
|
|
|
|
|
# this one requires libssl but we don't install that here so it doesn't
|
|
|
|
# always work
|
|
|
|
# cargo-edit
|
|
|
|
|
|
|
|
[link-files gitui:linux]
|
|
|
|
when: host.is_linux and host.has('gitui')
|
|
|
|
target_root: ~/.config
|
|
|
|
files:
|
|
|
|
gitui
|
|
|
|
|
|
|
|
[link-files gitui:windows]
|
|
|
|
when: host.is_windows and host.has('gitui')
|
|
|
|
target_root: ~/AppData/Roaming
|
|
|
|
files:
|
|
|
|
gitui
|