From 4fb9aec200ac62031fcf4aef938373f92d517d0b Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Sun, 18 Feb 2024 15:02:52 +0100 Subject: [PATCH] ssh: make usekeychain os dependant --- private_dot_ssh/{config => config.tmpl} | 2 ++ 1 file changed, 2 insertions(+) rename private_dot_ssh/{config => config.tmpl} (92%) diff --git a/private_dot_ssh/config b/private_dot_ssh/config.tmpl similarity index 92% rename from private_dot_ssh/config rename to private_dot_ssh/config.tmpl index 6cc3551..d66eb5e 100644 --- a/private_dot_ssh/config +++ b/private_dot_ssh/config.tmpl @@ -39,7 +39,9 @@ Host hyperhdr Host * AddKeysToAgent yes + {{- if eq .chezmoi.os "darwin" }} UseKeychain yes + {{- end }} SendEnv LANG port 22 XAuthLocation /opt/X11/bin/xauth