1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/nixos/modules/programs
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
..
bash treewide: automatically md-convert option descriptions 2022-07-30 15:16:34 +02:00
command-not-found treewide: automatically md-convert option descriptions 2022-07-30 15:16:34 +02:00
digitalbitbox treewide: automatically md-convert option descriptions 2022-07-30 15:16:34 +02:00
zsh nixos/*: mark pre-existing markdown descriptions as mdDoc 2022-08-19 22:40:58 +02:00
_1password-gui.nix treewide: automatically md-convert option descriptions 2022-07-30 15:16:34 +02:00
_1password.nix
adb.nix nixos/*: automatically convert option docs to MD 2022-08-03 22:46:41 +02:00
appgate-sdp.nix
atop.nix nixos/programs: invariant option docs MD conversions 2022-07-24 13:01:18 +02:00
autojump.nix treewide: automatically md-convert option descriptions 2022-07-30 15:16:34 +02:00
bandwhich.nix treewide: automatically md-convert option descriptions 2022-07-30 15:16:34 +02:00
bash-my-aws.nix
bcc.nix
browserpass.nix
calls.nix
captive-browser.nix nixos/*: automatically convert option docs 2022-08-19 22:40:58 +02:00
ccache.nix treewide: automatically md-convert option descriptions 2022-07-30 15:16:34 +02:00
cdemu.nix treewide: automatically md-convert option descriptions 2022-07-30 15:16:34 +02:00
cfs-zen-tweaks.nix
chromium.nix nixos/*: automatically convert option docs 2022-08-19 22:40:58 +02:00
cnping.nix
criu.nix treewide: automatically md-convert option descriptions 2022-07-30 15:16:34 +02:00
dconf.nix nixos/programs: invariant option docs MD conversions 2022-07-24 13:01:18 +02:00
dmrconfig.nix treewide: automatically md-convert option descriptions 2022-07-30 15:16:34 +02:00
droidcam.nix
environment.nix
evince.nix treewide: automatically md-convert option descriptions 2022-07-30 15:16:34 +02:00
extra-container.nix
feedbackd.nix treewide: automatically md-convert option descriptions 2022-07-30 15:16:34 +02:00
file-roller.nix treewide: automatically md-convert option descriptions 2022-07-30 15:16:34 +02:00
firejail.nix nixos/*: automatically convert option docs to MD 2022-08-03 22:46:41 +02:00
fish.nix nixos/programs: invariant option docs MD conversions 2022-07-24 13:01:18 +02:00
fish_completion-generator.patch
flashrom.nix treewide: automatically md-convert option descriptions 2022-07-30 15:16:34 +02:00
flexoptix-app.nix treewide: automatically md-convert option descriptions 2022-07-30 15:16:34 +02:00
freetds.nix treewide: automatically md-convert option descriptions 2022-07-30 15:16:34 +02:00
fuse.nix treewide: automatically md-convert option descriptions 2022-07-30 15:16:34 +02:00
gamemode.nix treewide: automatically md-convert option descriptions 2022-07-30 15:16:34 +02:00
geary.nix
git.nix treewide: automatically md-convert option descriptions 2022-07-30 15:16:34 +02:00
gnome-disks.nix treewide: automatically md-convert option descriptions 2022-07-30 15:16:34 +02:00
gnome-documents.nix treewide: automatically md-convert option descriptions 2022-07-30 15:16:34 +02:00
gnome-terminal.nix
gnupg.nix nixos/gnupg: use better trick to update the agent TTY 2022-08-27 23:18:00 +02:00
gpaste.nix treewide: automatically md-convert option descriptions 2022-07-30 15:16:34 +02:00
gphoto2.nix nixos/*: automatically convert option docs to MD 2022-08-03 22:46:41 +02:00
haguichi.nix
hamster.nix
htop.nix treewide: automatically md-convert option descriptions 2022-07-30 15:16:34 +02:00
iftop.nix
iotop.nix
java.nix treewide: automatically md-convert option descriptions 2022-07-30 15:16:34 +02:00
k3b.nix nixos/*: automatically convert option docs 2022-08-19 22:40:58 +02:00
k40-whisperer.nix treewide: automatically md-convert option descriptions 2022-07-30 15:16:34 +02:00
kbdlight.nix
kclock.nix
kdeconnect.nix nixos/*: replace <code> in option docs with <literal> 2022-08-03 21:03:23 +02:00
less.nix nixos/programs: invariant option docs MD conversions 2022-07-24 13:01:18 +02:00
liboping.nix
light.nix treewide: automatically md-convert option descriptions 2022-07-30 15:16:34 +02:00
mininet.nix
mosh.nix nixos/*: mark pre-existing markdown descriptions as mdDoc 2022-08-19 22:40:58 +02:00
msmtp.nix nixos/*: mark pre-existing markdown descriptions as mdDoc 2022-08-19 22:40:58 +02:00
mtr.nix treewide: automatically md-convert option descriptions 2022-07-30 15:16:34 +02:00
nano.nix nixos/programs: invariant option docs MD conversions 2022-07-24 13:01:18 +02:00
nbd.nix
neovim.nix nixos/*: automatically convert option docs to MD 2022-08-03 22:46:41 +02:00
nethoscope.nix treewide: automatically md-convert option descriptions 2022-07-30 15:16:34 +02:00
nix-ld.nix
nm-applet.nix treewide: automatically md-convert option descriptions 2022-07-30 15:16:34 +02:00
nncp.nix nixos/*: automatically convert option docs to MD 2022-08-03 22:46:41 +02:00
noisetorch.nix Merge pull request #184027 from Shawn8901/installNoisetorchWithProgram 2022-08-03 23:06:07 +02:00
npm.nix treewide: automatically md-convert option descriptions 2022-07-30 15:16:34 +02:00
oblogout.nix
openvpn3.nix
pantheon-tweaks.nix
partition-manager.nix
plotinus.nix treewide: automatically md-convert option descriptions 2022-07-30 15:16:34 +02:00
plotinus.xml
proxychains.nix nixos/programs: invariant option docs MD conversions 2022-07-24 13:01:18 +02:00
qt5ct.nix nixos/qt5ct: remove enable option and suggests qt5.platformTheme 2022-07-05 13:50:42 -03:00
screen.nix treewide: automatically md-convert option descriptions 2022-07-30 15:16:34 +02:00
seahorse.nix
sedutil.nix
shadow.nix treewide: automatically md-convert option descriptions 2022-07-30 15:16:34 +02:00
singularity.nix
slock.nix treewide: automatically md-convert option descriptions 2022-07-30 15:16:34 +02:00
spacefm.nix nixos/programs: invariant option docs MD conversions 2022-07-24 13:01:18 +02:00
ssh.nix nixos/*: automatically convert option docs 2022-08-19 22:40:58 +02:00
starship.nix nixos/programs: invariant option docs MD conversions 2022-07-24 13:01:18 +02:00
steam.nix treewide: automatically md-convert option descriptions 2022-07-30 15:16:34 +02:00
streamdeck-ui.nix treewide: automatically md-convert option descriptions 2022-07-30 15:16:34 +02:00
sway.nix nixos/*: normalize link format 2022-08-03 21:57:46 +02:00
sysdig.nix
system-config-printer.nix
systemtap.nix treewide: automatically md-convert option descriptions 2022-07-30 15:16:34 +02:00
thefuck.nix nixos/*: mark pre-existing markdown descriptions as mdDoc 2022-08-19 22:40:58 +02:00
thunar.nix treewide: automatically md-convert option descriptions 2022-07-30 15:16:34 +02:00
tmux.nix treewide: automatically md-convert option descriptions 2022-07-30 15:16:34 +02:00
traceroute.nix treewide: automatically md-convert option descriptions 2022-07-30 15:16:34 +02:00
tsm-client.nix nixos/*: automatically convert option docs 2022-08-19 22:40:58 +02:00
turbovnc.nix nixos/*: automatically convert option docs to MD 2022-08-03 22:46:41 +02:00
udevil.nix
usbtop.nix
vim.nix treewide: automatically md-convert option descriptions 2022-07-30 15:16:34 +02:00
virtualbox.nix
wavemon.nix treewide: automatically md-convert option descriptions 2022-07-30 15:16:34 +02:00
waybar.nix
weylus.nix treewide: automatically md-convert option descriptions 2022-07-30 15:16:34 +02:00
wireshark.nix treewide: automatically md-convert option descriptions 2022-07-30 15:16:34 +02:00
wshowkeys.nix
xfconf.nix nixos/xfconf: init 2022-06-26 14:29:01 -03:00
xfs_quota.nix treewide: automatically md-convert option descriptions 2022-07-30 15:16:34 +02:00
xonsh.nix treewide: automatically md-convert option descriptions 2022-07-30 15:16:34 +02:00
xss-lock.nix treewide: automatically md-convert option descriptions 2022-07-30 15:16:34 +02:00
xwayland.nix treewide: automatically md-convert option descriptions 2022-07-30 15:16:34 +02:00
yabar.nix nixos/*: mark pre-existing markdown descriptions as mdDoc 2022-08-19 22:40:58 +02:00
zmap.nix