Skip to content

Commit

Permalink
Merge branch 'main' of github.com:steveno/dotfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
steveno committed Sep 9, 2024
2 parents 4cfa1d3 + 9489d50 commit 4b1a61c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions run_once_before_decrypt-private-key.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
# Any copyright is dedicated to the Public Domain.
# https://creativecommons.org/publicdomain/zero/1.0/

set -o nounset
set -o errexit
set -o pipefail

if [ ! -f "/home/steveno/.config/chezmoi/key.txt" ]; then
mkdir -p "/home/steveno/.config/chezmoi"
chezmoi age decrypt --output "/home/steveno/.config/chezmoi/key.txt" --passphrase "{{ .chezmoi.sourceDir }}/key.txt.age"
Expand Down

0 comments on commit 4b1a61c

Please sign in to comment.