minimal: Add keychain to manager ssh keys

This commit is contained in:
Quentin Boyer 2024-08-28 10:46:50 +02:00
parent 85b0a79a52
commit 89b2d645fd

View file

@ -68,6 +68,7 @@
bat-extras.prettybat
just
bottom
keychain
# Useful for pandoc to latex
(texlive.combine {
@ -374,6 +375,11 @@
'';
shellInitLast = ''
# Use set -Ua SSH_KEYS_TO_AUTOLOAD <key> to add a key
if status is-login
and status is-interactive
keychain --eval $SSH_KEYS_TO_AUTOLOAD | source
end
${pkgs.fortune}/bin/fortune \
| ${pkgs.cowsay}/bin/cowsay \