dotfiles/home/private_dot_ssh/private_id_rsa.tmpl

5 lines
264 B
Cheetah

{{- if eq .hosttype "work" -}}
{{ join .chezmoi.sourceDir "private_dot_ssh/encrypted_private_id_rsa_work.age" | include | decrypt }}
{{- else -}}
{{ join .chezmoi.sourceDir "private_dot_ssh/encrypted_private_id_rsa_personal.age" | include | decrypt }}
{{- end -}}