fix(client): simply ssh-agent config and fix for wsl
This commit is contained in:
parent
373e2dd386
commit
f213c33012
3 changed files with 22 additions and 22 deletions
|
@ -12,6 +12,12 @@
|
|||
|
||||
environment.sessionVariables.LD_LIBRARY_PATH = [ "/run/opengl-driver/lib" ];
|
||||
|
||||
hm.programs.fish.interactiveShellInit = lib.mkAfter ''
|
||||
if test -f ~/.ssh/id_ed25519
|
||||
ssh-add -l | grep -q (ssh-keygen -lf ~/.ssh/id_ed25519) || ssh-add ~/.ssh/id_ed25519
|
||||
end
|
||||
'';
|
||||
|
||||
wsl = {
|
||||
enable = true;
|
||||
defaultUser = "leo";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue