by RagingCactus · 7y ago · 0 comments
data:
category: "linux-server"
in your .config/chezmoi/chezmoi.yaml file, you can then use it in your templates and a .chezmoiignore file (which is also treated as a template). A .chezmoiignore file could look like: {{ if eq .category "linux-server" -}}
.windowmanager.conf
{{ end -}}
I use this technique myself: https://github.com/twpayne/dotfiles/blob/master/.chezmoiigno...I'll definitely try it out!