summary refs log tree commit diff
diff options
context:
space:
mode:
authorYury G. Kudryashov <urkud@urkud.name>2019-10-31 16:15:59 -0400
committerYury G. Kudryashov <urkud@urkud.name>2019-11-01 08:58:11 -0400
commit7240566f74ffe0112e439dc971d655634d47a2dd (patch)
tree0b9cde196a5e64bea5047491103e850467be38a6
parent6bd0704542c852c3744f2ebe773876a75e1a18df (diff)
downloadnixpkgs-7240566f74ffe0112e439dc971d655634d47a2dd.tar
nixpkgs-7240566f74ffe0112e439dc971d655634d47a2dd.tar.gz
nixpkgs-7240566f74ffe0112e439dc971d655634d47a2dd.tar.bz2
nixpkgs-7240566f74ffe0112e439dc971d655634d47a2dd.tar.lz
nixpkgs-7240566f74ffe0112e439dc971d655634d47a2dd.tar.xz
nixpkgs-7240566f74ffe0112e439dc971d655634d47a2dd.tar.zst
nixpkgs-7240566f74ffe0112e439dc971d655634d47a2dd.zip
nixos/gnupg: add dbus dependencies for gnome3 pinentry
-rw-r--r--nixos/modules/programs/gnupg.nix2
1 files changed, 2 insertions, 0 deletions
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 ];