summary refs log tree commit diff stats
path: root/users/sils/gpg
diff options
context:
space:
mode:
authorsils <sils@sils.li>2024-03-28 11:18:30 +0100
committersils <sils@sils.li>2024-03-28 11:18:30 +0100
commit8791b427111be6a17500443b9116f6bc601dea74 (patch)
tree914c510b28706c40863c6e2f4d40e0886fe00e73 /users/sils/gpg
parentgit: change username to Silas Schöffel (diff)
downloadnix-config-8791b427111be6a17500443b9116f6bc601dea74.tar.gz
nix-config-8791b427111be6a17500443b9116f6bc601dea74.zip
gpg-agent: specify pinentryPackage
Diffstat (limited to 'users/sils/gpg')
-rw-r--r--users/sils/gpg/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/users/sils/gpg/default.nix b/users/sils/gpg/default.nix
index af3dcea..aecb4d4 100644
--- a/users/sils/gpg/default.nix
+++ b/users/sils/gpg/default.nix
@@ -1,5 +1,5 @@
 {
-  config,
+  pkgs,
   lib,
   ...
 }: {
@@ -10,7 +10,7 @@
     enable = true;
     defaultCacheTtl = 60 * 5;
     defaultCacheTtlSsh = 60 * 5;
-    pinentryFlavor = "curses";
+    pinentryPackage = pkgs.pinentry-curses;
     enableSshSupport = true;
     sshKeys = ["4077454831C98FE4BE4A9C167186C5A63615B790"];
   };