From 7240566f74ffe0112e439dc971d655634d47a2dd Mon Sep 17 00:00:00 2001 From: "Yury G. Kudryashov" Date: Thu, 31 Oct 2019 16:15:59 -0400 Subject: [PATCH] nixos/gnupg: add dbus dependencies for gnome3 pinentry --- nixos/modules/programs/gnupg.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nixos/modules/programs/gnupg.nix b/nixos/modules/programs/gnupg.nix index 8cb2e669cb2..2d262d90657 100644 --- a/nixos/modules/programs/gnupg.nix +++ b/nixos/modules/programs/gnupg.nix @@ -121,6 +121,8 @@ in wantedBy = [ "sockets.target" ]; }; + services.dbus.packages = mkIf (cfg.agent.pinentryFlavor == "gnome3") [ pkgs.gcr ]; + environment.systemPackages = with pkgs; [ cfg.package ]; systemd.packages = [ cfg.package ];