From 5907e47e04665e88a77197d10910df6367d6cf97 Mon Sep 17 00:00:00 2001 From: punkfairie <23287005+punkfairie@users.noreply.github.com> Date: Fri, 19 Apr 2024 19:04:59 -0700 Subject: [PATCH] Update .chezmoi.toml --- .chezmoi.toml.tmpl | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.chezmoi.toml.tmpl b/.chezmoi.toml.tmpl index b8f2b6d..2ad529b 100644 --- a/.chezmoi.toml.tmpl +++ b/.chezmoi.toml.tmpl @@ -1,10 +1,19 @@ +{{ $passphrase := promptStringOnce . "passphrase" "passphrase" -}} + progress = true [git] autoPush = true +encryption = "gpg" + +[gpg] +symmetric = true +args = ["--batch", "--passphrase", {{ $passphrase | quote }}, "--no-symkey-cache"] + [data] gpgKey = {{ output "get-gpg-key" | trim | quote }} +passphrase = {{ $passphrase | quote }} [data.drapeau] colorscheme = 'catppuccin-macchiato'