templatize gpg agent conf

This commit is contained in:
Gabriel Augendre 2024-01-20 16:16:05 +01:00
parent 33c31e4cb8
commit 365a3a7579
2 changed files with 9 additions and 2 deletions

View file

@ -1,2 +0,0 @@
pinentry-program /opt/homebrew/bin/pinentry-mac

View file

@ -0,0 +1,9 @@
{{- if get . "brew" }}
pinentry-program /opt/homebrew/bin/pinentry-mac
{{- end }}
default-cache-ttl 600
max-cache-ttl 7200
default-cache-ttl-ssh 600
max-cache-ttl-ssh 7200