summary refs log tree commit diff
diff options
context:
space:
mode:
authorRobin Gloster <mail@glob.in>2019-10-29 20:00:42 +0100
committerRobin Gloster <mail@glob.in>2019-10-29 20:30:23 +0100
commit3c39093c0d1ca383475930e9d2d993e1d3958160 (patch)
treec8d58d0520696934733329d44dc10839aa4e4906
parentf81600619171febcee723db6796d0045552a660f (diff)
downloadnixpkgs-3c39093c0d1ca383475930e9d2d993e1d3958160.tar
nixpkgs-3c39093c0d1ca383475930e9d2d993e1d3958160.tar.gz
nixpkgs-3c39093c0d1ca383475930e9d2d993e1d3958160.tar.bz2
nixpkgs-3c39093c0d1ca383475930e9d2d993e1d3958160.tar.lz
nixpkgs-3c39093c0d1ca383475930e9d2d993e1d3958160.tar.xz
nixpkgs-3c39093c0d1ca383475930e9d2d993e1d3958160.tar.zst
nixpkgs-3c39093c0d1ca383475930e9d2d993e1d3958160.zip
gnupg: fix pinentry on sway
-rw-r--r--nixos/modules/programs/gnupg.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/programs/gnupg.nix b/nixos/modules/programs/gnupg.nix
index 4fb7c43c8b2..b5773b1daf5 100644
--- a/nixos/modules/programs/gnupg.nix
+++ b/nixos/modules/programs/gnupg.nix
@@ -14,7 +14,7 @@ let
       "qt"
     else if xserverCfg.desktopManager.xfce.enable then
       "gtk2"
-    else if xserverCfg.enable then
+    else if xserverCfg.enable || cfg.programs.sway.enable then
       "gnome3"
     else
       null;