install.fairie/home/dot_ssh/ssh-red.tmpl
2023-01-26 03:54:53 +00:00

3 lines
215 B
Cheetah

{{- if and (stat (joinPath .host.home ".config" "age" "chezmoi.txt")) (stat (joinPath .chezmoi.sourceDir ".chezmoitemplates" "secrets" "ssh-red")) -}}
{{ includeTemplate "secrets/ssh-red" | decrypt -}}
{{ end -}}