From 6b461995000ccfe46b01191f2375e783e1aded6c Mon Sep 17 00:00:00 2001 From: Sam Willcocks Date: Mon, 17 Jul 2023 01:32:22 +0100 Subject: [PATCH] gpg: enable agent --- home/gpg.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/home/gpg.nix b/home/gpg.nix index 8e5ace2..a6de8d5 100644 --- a/home/gpg.nix +++ b/home/gpg.nix @@ -21,4 +21,10 @@ # https://github.com/NixOS/nixpkgs/issues/155629 scdaemonSettings = (lib.optionalAttrs pkgs.stdenv.isDarwin {disable-ccid = true;}); }; + + # Shouldn't have an effect on macos, on linux we need to specify a pinentry + services.gpg-agent = { + enable = true; + pinentryFlavor = "qt"; # for plasma + }; }