dotfiles/home/private_dot_ssh/id_rsa.pub.tmpl

5 lines
256 B
Cheetah

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