Use the right pinentry depending whether gui is enabled
This commit is contained in:
parent
64ad31ab4f
commit
3713020aca
|
@ -9,6 +9,7 @@ let
|
||||||
libfixposix
|
libfixposix
|
||||||
mono
|
mono
|
||||||
nomacs
|
nomacs
|
||||||
|
oraclejdk
|
||||||
python37Packages.youtube-dl
|
python37Packages.youtube-dl
|
||||||
sqlite
|
sqlite
|
||||||
system-config-printer
|
system-config-printer
|
||||||
|
@ -110,6 +111,12 @@ in mkIf ((profile == "desktop") || (profile == "laptop")) {
|
||||||
gnome-user-share.enable = pkgs.lib.mkForce false;
|
gnome-user-share.enable = pkgs.lib.mkForce false;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
programs.gnupg.agent = {
|
||||||
|
enable = true;
|
||||||
|
enableSSHSupport = true;
|
||||||
|
pinentryFlavor = if cfg.enable-gui then "gnome3" else "curses";
|
||||||
|
};
|
||||||
|
|
||||||
services.dbus.socketActivated = true;
|
services.dbus.socketActivated = true;
|
||||||
|
|
||||||
sound.enable = true;
|
sound.enable = true;
|
||||||
|
|
|
@ -54,6 +54,7 @@ in {
|
||||||
emacs-nox
|
emacs-nox
|
||||||
ldns
|
ldns
|
||||||
ldns.examples
|
ldns.examples
|
||||||
|
jdk12_headless
|
||||||
racket-minimal
|
racket-minimal
|
||||||
reboot-if-necessary
|
reboot-if-necessary
|
||||||
test-config
|
test-config
|
||||||
|
|
Loading…
Reference in New Issue