about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-06-16 07:58:37 +0200
committerSoispha <soispha@vhack.eu>2023-06-16 08:04:18 +0200
commit02635f7f4c28bdf66f105cce37f202a92ef3540e (patch)
tree7e84eb300c1c82137d0edd29f32b0cebdb4f92f7
parentBuild(treewide): Update (diff)
downloadnixos-config-02635f7f4c28bdf66f105cce37f202a92ef3540e.tar.gz
nixos-config-02635f7f4c28bdf66f105cce37f202a92ef3540e.zip
Fix(hm/conf/gpg): Enable pinentry
-rw-r--r--home-manager/config/gpg/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/home-manager/config/gpg/default.nix b/home-manager/config/gpg/default.nix
index feba1298..7250f1d5 100644
--- a/home-manager/config/gpg/default.nix
+++ b/home-manager/config/gpg/default.nix
@@ -36,6 +36,12 @@ in {
       }
     ];
   };
+  services.gpg-agent = {
+    enable = true;
+    enableZshIntegration = true;
+    enableScDaemon = true; # smartcards and such things
+    pinentryFlavor = "tty";
+  };
 }
 # vim: ts=2