diff options
author | Yury G. Kudryashov <urkud@urkud.name> | 2019-10-31 16:15:59 -0400 |
---|---|---|
committer | Yury G. Kudryashov <urkud@urkud.name> | 2019-11-01 08:58:11 -0400 |
commit | 7240566f74ffe0112e439dc971d655634d47a2dd (patch) | |
tree | 0b9cde196a5e64bea5047491103e850467be38a6 | |
parent | 6bd0704542c852c3744f2ebe773876a75e1a18df (diff) | |
download | nixpkgs-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.nix | 2 |
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 ]; |