From 459ecf9c604a59f5bfb8c861a4b7411acb2baaf5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charlotte=20=F0=9F=A6=9D=20Delenk?= Date: Thu, 21 Nov 2024 08:04:51 +0100 Subject: [PATCH] add gpg-agent --- services/desktop/gpg/default.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/services/desktop/gpg/default.nix b/services/desktop/gpg/default.nix index d6b73fbf..d67c936a 100644 --- a/services/desktop/gpg/default.nix +++ b/services/desktop/gpg/default.nix @@ -1,4 +1,4 @@ -{ config, ... }: +{ config, pkgs, ... }: { programs.gpg = { enable = true; @@ -7,4 +7,9 @@ mutableTrust = false; scdaemonSettings.disable-ccid = true; }; + services.gpg-agent = { + enable = true; + enableSshSupport = true; + pinentryPackage = pkgs.pinentry-qt; + }; }