Delete duplicated script (decrypt-private-key.sh)

This commit is contained in:
inkch 2024-01-18 21:27:20 +09:00
parent 94cefa091a
commit 57f60339d8

View File

@ -1,7 +0,0 @@
#!/bin/sh
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 }}/.assets/key.txt.age"
chmod 600 "${HOME}/.config/chezmoi/key.txt"
fi