Update dotfiles/.local/share/chezmoi/home/.chezmoiscripts/_universal/run_onchange_before_90-install-packages.tmpl, dotfiles/.local/share/chezmoi/home/.chezmoi.yaml.tmpl, dotfiles/.local/share/chezmoi/home/.chezmoidata.yaml

This commit is contained in:
Brian Zalewski 2022-11-27 18:42:29 +00:00
parent 52c2db981b
commit 1151cc54b7
3 changed files with 111 additions and 0 deletions

View file

@ -134,6 +134,7 @@ data:
home: "{{ .chezmoi.homeDir }}"
homeParentFolder: "{{ if eq .chezmoi.os "linux" }}/home{{ else if eq .chezmoi.os "darwin" }}/Users{{ else }}C:\Users{{ end }}"
qubes: {{ ne (stat (joinPath "usr" "bin" "qubes-session")) false }}
softwareGroup: "terminal"
type: "{{ $chassisType }}"
work: {{ $work }}
restricted: {{ $restricted }}

View file

@ -17,6 +17,107 @@ colors:
color14: #000AAA
config:
gpg: https://raw.githubusercontent.com/drduh/config/master/gpg.conf
softwareGroups:
terminal:
- aria2
- asdf
- automake
- autorestic
- bandwhich
- bat
- bitwarden-cli
- cheat
- chezmoi
- choose
- cloudflared
- cmake
- coreutils
- croc
- ctop
- curl
- curlie
- dasel
- deno
- difftastic
- direnv
- duf
- dust
- etcd
- exa
- fd
- ffsend
- fq
- fselect
- fx
- fzf
- gist
- git
- git-delta
- git-lfs
- git-secret
- gitui
- glances
- glow
- go-task/tap/go-task
- gomplate
- googler
- gping
- grex
- gron
- gum
- hexyl
- hey
- htop
- hyperfine
- imagemagick
- jo
- jq
- jq
- litecli
- m-cli
- mcfly
- mkcert
- mycli
- nb
- nmap
- nnn
- node
- openssh
- ots
- pass
- peco
- pnpm
- procs
- pup
- pywhat
- rclone
- restic
- ripgrep
- ripgrep-all
- rm-improved
- rsync
- sd
- shellcheck
- sops
- sqlite
- ssh-vault
- sysbench
- t-rec
- teller
- tmux
- tree
- up
- vault
- vim
- volta
- watchexec
- wget
- whalebrew
- yj
- yq
- zoxide
- zsh
- zx
softwarePlugins:
vim:
plugins:

View file

@ -1 +1,10 @@
#!/usr/bin/env bash
# software: {{ join (get .softwareGroups .host.softwareGroup) " " }}
if command -v install-software > /dev/null; then
logg 'Installing packages defined in .chezmoidata.yaml under the .softwareGroups key'
install-software {{ join (get .softwareGroups .host.softwareGroup) " " }}
else
logg error '`install-software` is not in the PATH'
fi