From 924953acc45a6f54b7fd4f06874179e9f36c536e Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Tue, 19 Nov 2024 00:08:22 +0200 Subject: Added keychain to not have to retype ssh passphrases --- .zshrc | 4 ++-- nixos/hosts/default/home.nix | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.zshrc b/.zshrc index 4885e5d..92bd969 100644 --- a/.zshrc +++ b/.zshrc @@ -103,8 +103,8 @@ export FZF_DEFAULT_OPTS=" \ # esac # # pnpm end # -# # Start ssh-agent if not running -# eval $(keychain --quiet --eval --timeout 180 ~/.ssh/id_ed25519) +# Start ssh-agent if not running +eval $(keychain --quiet --eval --timeout 300 ~/.ssh/id_ed25519) # # Open tmux if it's not open # if [ -z "$TMUX" ]; then diff --git a/nixos/hosts/default/home.nix b/nixos/hosts/default/home.nix index 574012a..1020447 100644 --- a/nixos/hosts/default/home.nix +++ b/nixos/hosts/default/home.nix @@ -32,6 +32,7 @@ zoxide tmux bc + keychain # # It is sometimes useful to fine-tune packages, for example, by applying # # overrides. You can do that directly here, just don't forget the -- cgit v1.3.1