install.fairie/home/dot_config/ngrok/ngrok.yml.tmpl

5 lines
359 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" "ngrok")) -}}
{{ includeTemplate "secrets/ngrok" | decrypt -}}
{{ else if (stat (joinPath .chezmoi.sourceDir ".chezmoitemplates" "secrets" "ngrok-fallback")) -}}
{{ includeTemplate "secrets/ngrok-fallback" }}
{{- end -}}