5 lines
No EOL
375 B
Cheetah
5 lines
No EOL
375 B
Cheetah
{{- if and (stat (joinPath .host.home ".config" "age" "chezmoi.txt")) (stat (joinPath .chezmoi.sourceDir ".chezmoitemplates" "secrets" "tailscale")) -}}
|
|
{{ includeTemplate "secrets/tailscale" | decrypt -}}
|
|
{{ else if (stat (joinPath .chezmoi.sourceDir ".chezmoitemplates" "secrets" "tailscale-fallback")) -}}
|
|
{{ includeTemplate "secrets/tailscale-fallback" }}
|
|
{{- end -}} |