install.fairie/home/dot_config/gdrive3/personal/private_secret.json.tmpl

4 lines
518 B
Cheetah
Raw Normal View History

2024-01-27 21:33:07 -08:00
{
"client_id": "{{ if (stat (joinPath .chezmoi.sourceDir ".chezmoitemplates" "secrets" "GOOGLE_DRIVE_CLIENT_ID")) }}{{- includeTemplate "secrets/GOOGLE_DRIVE_CLIENT_ID" | decrypt | trim -}}{{ else }}{{- env "GOOGLE_DRIVE_CLIENT_ID" -}}{{ end }}",
"client_secret": "{{ if (stat (joinPath .chezmoi.sourceDir ".chezmoitemplates" "secrets" "GOOGLE_DRIVE_CLIENT_SECRET")) }}{{- includeTemplate "secrets/GOOGLE_DRIVE_CLIENT_SECRET" | decrypt | trim -}}{{ else }}{{- env "GOOGLE_DRIVE_CLIENT_SECRET" -}}{{ end }}"
}