Add fallback to tty if gui is not present

This commit is contained in:
Jakob Lechner 2022-09-15 00:39:03 +00:00
parent 8b06f1f784
commit 2faf754fc6
No known key found for this signature in database
GPG key ID: 996082EFB5906C10

View file

@ -6,7 +6,7 @@
gnupg.agent = {
enable = true;
enableSSHSupport = true;
pinentryFlavor = lib.optionals config.myConfig.gui.enable "gnome3";
pinentryFlavor = if config.myConfig.gui.enable then "gnome3" else "tty";
};
};