dotfiles/private_dot_gnupg/private_gpg-agent.conf.tmpl

18 lines
399 B
Cheetah
Raw Normal View History

2023-08-27 17:55:31 +02:00
default-cache-ttl 300
max-cache-ttl 999999
{{ if eq .chezmoi.os "darwin" -}}
# macOS contents
pinentry-program /opt/homebrew/bin/pinentry-mac
{{ else if eq .chezmoi.os "linux" -}}
# Linux contents
2023-08-28 18:27:39 +02:00
{{ if eq .chezmoi.hostname "brothertec" -}}
# Linux Server contents
pinentry-program /usr/bin/pinentry
{{ else -}}
# Linux Desktop contents
2023-08-27 17:55:31 +02:00
pinentry-program /usr/bin/pinentry-qt
{{ end -}}
2023-08-28 18:27:39 +02:00
{{ end -}}