ssh: make usekeychain os dependant

This commit is contained in:
Gabriel Augendre 2024-02-18 15:02:52 +01:00
parent 1f3dee3936
commit 4fb9aec200

View file

@ -39,7 +39,9 @@ Host hyperhdr
Host * Host *
AddKeysToAgent yes AddKeysToAgent yes
{{- if eq .chezmoi.os "darwin" }}
UseKeychain yes UseKeychain yes
{{- end }}
SendEnv LANG SendEnv LANG
port 22 port 22
XAuthLocation /opt/X11/bin/xauth XAuthLocation /opt/X11/bin/xauth