install.fairie/home/private_dot_ssh/ssh-authorized_keys.yubikey.tmpl

4 lines
255 B
Cheetah
Raw Normal View History

2023-01-25 19:54:53 -08:00
{{- if and (stat (joinPath .host.home ".config" "age" "chezmoi.txt")) (stat (joinPath .chezmoi.sourceDir ".chezmoitemplates" "secrets" "ssh-authorized_keys.yubikey")) -}}
{{ includeTemplate "secrets/ssh-authorized_keys.yubikey" | decrypt -}}
{{ end -}}