diff --git a/dot_config/fish/config.fish b/dot_config/fish/config.fish index b154bfe..083a9fa 100644 --- a/dot_config/fish/config.fish +++ b/dot_config/fish/config.fish @@ -103,3 +103,9 @@ if test -e /nix . /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" end + +# Load keychain if installed +if command --search keychain > /dev/null + keychain -q --nogui $HOME/.ssh/id_ed25519 + . $HOME/.keychain/$HOST-fish +end