global/gpg: fix pinentry flavor handling
This commit is contained in:
parent
4ac8d09f03
commit
2c970b76e4
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@
|
||||||
|
|
||||||
services.gpg-agent = {
|
services.gpg-agent = {
|
||||||
enable = true;
|
enable = true;
|
||||||
pinentryFlavor = (if main.services.xserver.enable then "qt" else "curses");
|
pinentryPackage = (if main.info.graphical then pkgs.pinentry-qt else pkgs.pinentry-curses);
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
allow-emacs-pinentry
|
allow-emacs-pinentry
|
||||||
allow-loopback-pinentry
|
allow-loopback-pinentry
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue