Create an optional config file in ~/.config/chezmoi/chezmoi.toml
encryption = "gpg"
[gpg]
recipient = "0xPUBLIC_KEY_ID"
[data]
hosttype = "private" # private | work
email = "user@email.com"
[merge]
command = "nvim"
args = ["-d", "{{ .Destination }}", "{{ .Source }}", "{{ .Target }}"]
[hooks.read-source-state.pre]
command = ".local/share/chezmoi/.install-required-tools.sh"
Install chezmoi first by doing:
sh -c "$(curl -fsLS get.chezmoi.io)" -- init --apply RiddleMan --ssh