{{- if eq .chezmoi.os "windows" -}} {{- template "dot_sshconfig_windows.tmpl" . -}} {{- else if eq .chezmoi.os "linux" -}} {{- if (.chezmoi.kernel.osrelease | lower | contains "microsoft") -}} {{- template "dot_sshconfig_wsl.tmpl" . -}} {{- else -}} {{- template "dot_sshconfig_linux.tmpl" . -}} {{- end -}} {{- end -}}