Fixed pinentry appearing in wrong terminal

This commit is contained in:
Alejandro Angulo 2023-11-26 09:55:40 -08:00
parent 2d18dd0a2f
commit 9f33922eec
Signed by: alejandro-angulo
GPG key ID: 75579581C74554B6

View file

@ -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";