nixpkgs/nixos
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
..
doc nixos/prometheus.sachet: add module 2022-08-27 12:41:54 -04:00
lib nixos/make-options-doc: eat newlines in MD admonitions 2022-08-27 19:18:29 +02:00
maintainers use consistently user alice for examples 2022-08-05 13:13:24 +02:00
modules nixos/gnupg: use better trick to update the agent TTY 2022-08-27 23:18:00 +02:00
tests nixos/minecraft-server: optimize world generation inside test 2022-08-26 23:22:52 -04:00
COPYING
default.nix
README
release-combined.nix treewide: remove myself as maintainer from some pkgs 2022-08-03 14:17:51 +02:00
release-small.nix Revert "release: add tests.packageTestsForChannelBlockers.curl.withCheck as a channel blocker" 2022-07-12 15:00:38 +03:00
release.nix nixos/release: add proxmox LXC and VMA 2022-07-13 10:44:41 +02:00

*** NixOS ***

NixOS is a Linux distribution based on the purely functional package
management system Nix.  More information can be found at
https://nixos.org/nixos and in the manual in doc/manual.