change path of the key.txt.age (now, it's in .assets)

This commit is contained in:
inkch 2024-01-18 21:29:26 +09:00
parent 57f60339d8
commit cc5f75a71c

View File

@ -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