Add fallback to tty if gui is not present
This commit is contained in:
parent
8b06f1f784
commit
2faf754fc6
1 changed files with 1 additions and 1 deletions
|
|
@ -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";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue