install.fairie/home/dot_config/ngrok/ngrok.yml.tmpl
2023-01-26 03:54:53 +00:00

5 lines
No EOL
359 B
Cheetah

{{- 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 -}}