From 723841443ddfaf0a4c4852a774cbd20503cfb177 Mon Sep 17 00:00:00 2001 From: Michael Mandl Date: Mon, 4 Jul 2022 09:09:37 +0200 Subject: [PATCH] feat: use gnome3/gnome-keyring for gpg pinentry --- home-manager/gpg/default.nix | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/home-manager/gpg/default.nix b/home-manager/gpg/default.nix index e8c9d75..433a27d 100644 --- a/home-manager/gpg/default.nix +++ b/home-manager/gpg/default.nix @@ -4,10 +4,7 @@ services.gpg-agent = { enable = true; enableZshIntegration = true; - pinentryFlavor = "gtk2"; - extraConfig = '' - allow-loopback-pinentry - ''; + pinentryFlavor = "gnome3"; }; programs.gpg = { @@ -18,8 +15,5 @@ source = ./pubring.asc; trust = "ultimate"; }]; - settings = { - pinentry-mode = "loopback"; - }; }; }