dotfiles/private_dot_ssh/private_authorized_keys.tmpl

8 lines
356 B
Cheetah

{{- if (eq .chezmoi.hostname "hydrogen") -}}
{{ (bitwardenAttachment "hydrogen.pub" "selfhosted-ssh-keys") }}
{{- else if (hasSuffix "freebsd" .chezmoi.hostname) -}}
{{ (bitwardenAttachment "hydrogen.pub" "selfhosted-ssh-keys") }}
{{- else if (eq .chezmoi.hostname "lithium") -}}
{{ (bitwardenAttachment "lithium.pub" "selfhosted-ssh-keys") }}
{{- end -}}