summary refs log tree commit diff
diff options
context:
space:
mode:
authorYury G. Kudryashov <urkud@urkud.name>2019-10-30 02:00:39 -0400
committerYury G. Kudryashov <urkud@urkud.name>2019-10-30 02:00:39 -0400
commit1105cec98d6c90351e8dfdc642947a77e323607e (patch)
tree938d59c0312d3e6ee9d85e6a1823edcb0519f25e
parentf6d41b4b1d1ffae5fbfd24853e3a9b331b95d9bd (diff)
downloadnixpkgs-1105cec98d6c90351e8dfdc642947a77e323607e.tar
nixpkgs-1105cec98d6c90351e8dfdc642947a77e323607e.tar.gz
nixpkgs-1105cec98d6c90351e8dfdc642947a77e323607e.tar.bz2
nixpkgs-1105cec98d6c90351e8dfdc642947a77e323607e.tar.lz
nixpkgs-1105cec98d6c90351e8dfdc642947a77e323607e.tar.xz
nixpkgs-1105cec98d6c90351e8dfdc642947a77e323607e.tar.zst
nixpkgs-1105cec98d6c90351e8dfdc642947a77e323607e.zip
gnupg: fix pinentry in sway (fix a typo in 3c39093c0d1)
-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 b5773b1daf5..8cb2e669cb2 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 || cfg.programs.sway.enable then
+    else if xserverCfg.enable || config.programs.sway.enable then
       "gnome3"
     else
       null;