From fffaf6718d281ee6afd9f2c0215f75623ed3527f Mon Sep 17 00:00:00 2001 From: punkfairie <23287005+punkfairie@users.noreply.github.com> Date: Sat, 20 Apr 2024 10:08:34 -0700 Subject: [PATCH] Update .chezmoi.toml --- .chezmoi.toml.tmpl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.chezmoi.toml.tmpl b/.chezmoi.toml.tmpl index 8828cc9..af444d2 100644 --- a/.chezmoi.toml.tmpl +++ b/.chezmoi.toml.tmpl @@ -12,7 +12,9 @@ symmetric = true args = ["--batch", "--passphrase", {{ $passphrase | quote }}, "--no-symkey-cache"] [data] -gpgKey = {{ output "get-gpg-key" | trim | quote }} +{{ if lookPath "get-gpg-key" -}} + gpgKey = {{ output "get-gpg-key" | trim | quote }} +{{- end }} passphrase = {{ $passphrase | quote }} [data.drapeau]