add keychain config

This commit is contained in:
liv 2023-06-14 14:13:08 +02:00
parent fb590a2baf
commit 1aea450add

View file

@ -103,3 +103,9 @@ if test -e /nix
. /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.fish . /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.fish
set -x NIX_PATH "$HOME/.nix-defexpr/channels:/nix/var/nix/profiles/per-user/root/channels" set -x NIX_PATH "$HOME/.nix-defexpr/channels:/nix/var/nix/profiles/per-user/root/channels"
end end
# Load keychain if installed
if command --search keychain > /dev/null
keychain -q --nogui $HOME/.ssh/id_ed25519
. $HOME/.keychain/$HOST-fish
end