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 /nixos/modules/programs/gnupg.nix | |
parent | 6bd0704542c852c3744f2ebe773876a75e1a18df (diff) | |
download | nixlib-7240566f74ffe0112e439dc971d655634d47a2dd.tar nixlib-7240566f74ffe0112e439dc971d655634d47a2dd.tar.gz nixlib-7240566f74ffe0112e439dc971d655634d47a2dd.tar.bz2 nixlib-7240566f74ffe0112e439dc971d655634d47a2dd.tar.lz nixlib-7240566f74ffe0112e439dc971d655634d47a2dd.tar.xz nixlib-7240566f74ffe0112e439dc971d655634d47a2dd.tar.zst nixlib-7240566f74ffe0112e439dc971d655634d47a2dd.zip |
nixos/gnupg: add dbus dependencies for gnome3 pinentry
Diffstat (limited to 'nixos/modules/programs/gnupg.nix')
-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 8cb2e669cb28..2d262d906579 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 ]; |