change path of the key.txt.age (now, it's in .assets
)
This commit is contained in:
parent
57f60339d8
commit
cc5f75a71c
@ -2,6 +2,6 @@
|
|||||||
|
|
||||||
if [ ! -f "${HOME}/.config/chezmoi/key.txt" ]; then
|
if [ ! -f "${HOME}/.config/chezmoi/key.txt" ]; then
|
||||||
mkdir -p "${HOME}/.config/chezmoi"
|
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"
|
chmod 600 "${HOME}/.config/chezmoi/key.txt"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user