fix(kde): set ssh agent variable at system level
This commit is contained in:
parent
7fdabbd351
commit
5d39734c39
2 changed files with 3 additions and 3 deletions
|
@ -11,8 +11,6 @@
|
|||
enable = true;
|
||||
|
||||
interactiveShellInit = with pkgs; ''
|
||||
set -gx SSH_AUTH_SOCK /run/user/1000/ssh-agent
|
||||
|
||||
if test -f ~/.ssh/id_ed25519
|
||||
ssh-add -l | grep -q (ssh-keygen -lf ~/.ssh/id_ed25519) || ssh-add ~/.ssh/id_ed25519
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue