Don't start ssh-agent in .profile

Problem: My SSH is behaving strangely.
Reason: I'm not sure. What I do know, however, is that Google handles SSH
differently. So I think that's enough for me to know I should keep my hands off
and not wrestle with it.
This commit is contained in:
William Carroll 2020-06-16 11:50:47 +01:00
parent 183b306159
commit 3e33382675

View file

@ -8,12 +8,6 @@ if [ -z "$DISPLAY" -a "$(tty)" = '/dev/tty5' ]; then
exec xinit -- vt05
fi
# I tried configuring home-manager to generate the ssh-agent init code (i.e. the
# code below), but it seems that the home-manager community support using
# gpg-agent to emulate the ssh-agent. I tried that, but I didn't fully
# understand the benefits.
eval "$(ssh-agent -s)"
# This fixes nixpkgs that rely on glibc-2.27, which allegedly breaks locale
# issues.
# See this thread for more details: https://github.com/NixOS/nixpkgs/issues/8398