install.fairie/home/dot_config/wakatime/.wakatime.cfg
Brian Zalewski ec94b96b75 Latest
2023-06-19 03:32:33 +00:00

4 lines
309 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/WAKATIME_API_KEY" | decrypt | trim }}{{ else }}{{ env "WAKATIME_API_KEY" }}{{ end }}
{{- end }}