about summary refs log tree commit diff
path: root/nixos/modules/programs
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2022-05-18 18:31:34 +0200
committerGitHub <noreply@github.com>2022-05-18 18:31:34 +0200
commit9e44ffc04300e0191e3c8f5a601a96e808eaf67b (patch)
tree3717cfb772ad741a8b0ffdcbcc7f5dc3714deeae /nixos/modules/programs
parent7c035dbb7544ae2a9adc2320e7d84c7b7d9477ed (diff)
nixos/gnupg: default to a reasonable pinentry program on headless systems
Diffstat (limited to 'nixos/modules/programs')
-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 b41f30287ea55..7d8ab7dda9672 100644
--- a/nixos/modules/programs/gnupg.nix
+++ b/nixos/modules/programs/gnupg.nix
@@ -17,7 +17,7 @@ let
     else if xserverCfg.enable || config.programs.sway.enable then
       "gnome3"
     else
-      null;
+      "curses";
 
 in