From 8bee241a075bc7163396cea3350fc9edeae4d091 Mon Sep 17 00:00:00 2001 From: Giulio De Pasquale Date: Fri, 14 Oct 2022 14:52:48 +0200 Subject: [PATCH] Save SSH keys when on darwin --- roles/home/ssh.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/home/ssh.nix b/roles/home/ssh.nix index 66d1f72..2b11afa 100644 --- a/roles/home/ssh.nix +++ b/roles/home/ssh.nix @@ -169,6 +169,7 @@ IdentitiesOnly yes ServerAliveInterval 3600 '' + lib.optionalString pkgs.stdenv.isDarwin '' + AddKeysToAgent yes UseKeychain yes TCPKeepAlive no '';