nixpkgs-suyu/nixos/modules
rnhmjoj 576005a34a
nixos/gnupg: use better trick to update the agent TTY
Long story short: the SSH agent protocol doesn't support telling from
which tty the request is coming from, so the the pinentry curses prompt
appears on the login tty and messes up the output and may hang.

The current trick to workaround this is informing the gnupg agent every
time you start a shell: this assumes you will run `ssh` in the latest
tty, if you don't the latest tty will be messed up this time.
The ideal solution would be updating the tty exactly when (and where)
you run `ssh`. This is actually possible using a catch-all Match block
in ssh_config and using the `exec` feature that hooks a command to the
current shell.

Source for the new trick: https://unix.stackexchange.com/a/499133/110465
2022-08-27 23:18:00 +02:00
..
config nixos/*: literalDocBook -> literalMD 2022-08-27 19:18:29 +02:00
hardware nvidia: remove deleted useGlamor option 2022-08-24 21:34:42 +02:00
i18n/input-method treewide: automatically md-convert option descriptions 2022-07-30 15:16:34 +02:00
installer nixos/*: automatically convert option docs 2022-08-19 22:40:58 +02:00
misc nixos/*: literalDocBook -> literalMD 2022-08-27 19:18:29 +02:00
profiles nixos/*: automatically convert option docs 2022-08-06 20:39:12 +02:00
programs nixos/gnupg: use better trick to update the agent TTY 2022-08-27 23:18:00 +02:00
security Merge pull request #173495 from wucke13/pam-fix 2022-08-21 20:57:17 +02:00
services Merge pull request #188362 from pcpthm/fix-nix-registry-flake 2022-08-27 22:33:17 +02:00
system nixos/*: literalDocBook -> literalMD 2022-08-27 19:18:29 +02:00
tasks nixos/network-interfaces: convert option descriptions to MD 2022-08-27 19:18:29 +02:00
testing
virtualisation nixos/*: literalDocBook -> literalMD 2022-08-27 19:18:29 +02:00
module-list.nix nixos/prometheus.sachet: add module 2022-08-27 12:41:54 -04:00
rename.nix xow: remove 2022-08-02 00:50:32 +03:00