install.fairie/home/dot_config/wakatime/.wakatime.cfg

5 lines
305 B
INI
Raw Normal View History

2023-05-30 20:30:57 -07:00
{{- if (stat (joinPath .host.home ".config" "age" "chezmoi.txt")) -}}
[settings]
api_key = {{ if (stat (joinPath .chezmoi.sourceDir ".chezmoitemplates" "secrets" "WAKATIME_API_KEY")) }}{{ includeTemplate "secrets/VAGRANT_CLOUD_TOKEN" | decrypt }}{{ else }}{{ env "WAKATIME_API_KEY" }}{{ end }}
{{- end }}