fix: make ssh agent work

This commit is contained in:
uku 2024-07-26 12:58:05 +02:00
parent 77dd766bc0
commit 1601dacb13
Signed by: uku
SSH key fingerprint: SHA256:4P0aN6M8ajKukNi6aPOaX0LacanGYtlfjmN+m/sHY/o
4 changed files with 13 additions and 22 deletions

View file

@ -11,6 +11,8 @@
enable = true;
interactiveShellInit = with pkgs; ''
ssh-add -l | grep -q (ssh-keygen -lf ~/.ssh/id_ed25519) || ssh-add ~/.ssh/id_ed25519
${lib.getExe starship} init fish | source
${lib.getExe nix-your-shell} fish | source
'';