diff options
| author | Loek Le Blansch <loek@pipeframe.xyz> | 2026-08-06 20:06:40 +0200 |
|---|---|---|
| committer | Loek Le Blansch <loek@pipeframe.xyz> | 2026-08-06 20:06:40 +0200 |
| commit | 5533e947bbba56e1214b148b481dc214f401f09e (patch) | |
| tree | 60b59a6a4a2cb0fe3b9a114be1657b26baaa2a53 /home/dot_local | |
| parent | a6d5684070a1d546c98b23669a18ac81c1967d2e (diff) | |
mac updates
Diffstat (limited to 'home/dot_local')
| -rw-r--r-- | home/dot_local/share/private_gnupg/private_gpg-agent.conf | 3 | ||||
| -rw-r--r-- | home/dot_local/share/private_gnupg/private_gpg-agent.conf.tmpl | 7 |
2 files changed, 7 insertions, 3 deletions
diff --git a/home/dot_local/share/private_gnupg/private_gpg-agent.conf b/home/dot_local/share/private_gnupg/private_gpg-agent.conf deleted file mode 100644 index 4e3bb5d..0000000 --- a/home/dot_local/share/private_gnupg/private_gpg-agent.conf +++ /dev/null @@ -1,3 +0,0 @@ -allow-preset-passphrase -max-cache-ttl 604800 -pinentry-program /usr/bin/pinentry-gtk diff --git a/home/dot_local/share/private_gnupg/private_gpg-agent.conf.tmpl b/home/dot_local/share/private_gnupg/private_gpg-agent.conf.tmpl new file mode 100644 index 0000000..2e9d8d6 --- /dev/null +++ b/home/dot_local/share/private_gnupg/private_gpg-agent.conf.tmpl @@ -0,0 +1,7 @@ +allow-preset-passphrase +max-cache-ttl 604800 +{{- if eq .chezmoi.os "darwin" }} +pinentry-program {{ lookPath "pinentry-mac" }} +{{- else if eq .chezmoi.os "linux" }} +pinentry-program {{ lookPath "pinentry-gtk" }} +{{- end }} |