add work environment toggle

This commit is contained in:
Frank Zechert
2026-08-02 20:37:17 +02:00
parent c72678926f
commit a33a23941e
3 changed files with 8 additions and 0 deletions
@@ -30,6 +30,11 @@ declare -a yay_packages
yay_packages+=({{ . | quote}})
{{ end -}}
{{ end -}}
{{ if eq .work_env true -}}
{{ range .packages.arch.work_env.yay -}}
yay_packages+=({{ . | quote}})
{{ end -}}
{{ end -}}
{{ end -}}
install_yay_system_packages "${yay_packages[@]}"