Fixed pinentry appearing in wrong terminal
This commit is contained in:
parent
2d18dd0a2f
commit
9f33922eec
|
@ -25,6 +25,11 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
programs.ssh.matchBlocks = {
|
||||||
|
# Fix for pinentry showing up in wrong terminal
|
||||||
|
"*".match = "host * exec \"gpg-connect-agent UPDATESTARTUPTTY /bye\"";
|
||||||
|
};
|
||||||
|
|
||||||
services.gpg-agent = {
|
services.gpg-agent = {
|
||||||
enable = true;
|
enable = true;
|
||||||
pinentryFlavor = "curses";
|
pinentryFlavor = "curses";
|
||||||
|
|
Loading…
Reference in a new issue