From 4f18aa1e7d118476f05ce420bd0e68b9c4c37716 Mon Sep 17 00:00:00 2001 From: Simon Rieger Date: Mon, 28 Aug 2023 18:27:39 +0200 Subject: [PATCH] fix server pinentry --- private_dot_gnupg/private_gpg-agent.conf.tmpl | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/private_dot_gnupg/private_gpg-agent.conf.tmpl b/private_dot_gnupg/private_gpg-agent.conf.tmpl index e5fc63a..256059c 100644 --- a/private_dot_gnupg/private_gpg-agent.conf.tmpl +++ b/private_dot_gnupg/private_gpg-agent.conf.tmpl @@ -5,5 +5,13 @@ max-cache-ttl 999999 pinentry-program /opt/homebrew/bin/pinentry-mac {{ else if eq .chezmoi.os "linux" -}} # Linux contents + +{{ if eq .chezmoi.hostname "brothertec" -}} +# Linux Server contents +pinentry-program /usr/bin/pinentry +{{ else -}} +# Linux Desktop contents pinentry-program /usr/bin/pinentry-qt {{ end -}} + +{{ end -}}