Re:Chezmoi: manage your dotfiles securely across multiple ma...
by twp on Monday January 14, 2019 @10:13AM
(#18903515)
Yes, you can define your own template variables in the config file, for example if you include:
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:
I use this technique myself: https://github.com/twpayne/dotfiles/blob/master/.chezmoiigno...
[ Parent
| on HN ]
Re:Chezmoi: manage your dotfiles securely across multiple ma...
by RagingCactus on Monday January 14, 2019 @10:24AM
(#18903616)
Thanks! Just defining it as a config variable is far too obvious in hindsight, I don't know why it didn't cross my mind.
I'll definitely try it out!