install.fairie/home/dot_config/wakatime/.wakatime.cfg
Brian Zalewski e52e2905bf Latest
2023-05-31 03:30:57 +00:00

4 lines
305 B
INI

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