diff --git a/.chezmoiscripts/run_before_decrypt-private-key.sh.tmpl b/.chezmoiscripts/run_before_decrypt-private-key.sh.tmpl index dbffe10..9ba1588 100644 --- a/.chezmoiscripts/run_before_decrypt-private-key.sh.tmpl +++ b/.chezmoiscripts/run_before_decrypt-private-key.sh.tmpl @@ -2,6 +2,6 @@ if [ ! -f "${HOME}/.config/chezmoi/key.txt" ]; then mkdir -p "${HOME}/.config/chezmoi" - chezmoi age decrypt --output "${HOME}/.config/chezmoi/key.txt" --passphrase "{{ .chezmoi.sourceDir }}/key.txt.age" + chezmoi age decrypt --output "${HOME}/.config/chezmoi/key.txt" --passphrase "{{ .chezmoi.sourceDir }}/.assets/key.txt.age" chmod 600 "${HOME}/.config/chezmoi/key.txt" fi