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

5 lines
309 B
Cheetah
Raw Normal View History

2023-05-30 20:30:57 -07:00
{{- if (stat (joinPath .host.home ".config" "age" "chezmoi.txt")) -}}
[settings]
2023-06-18 20:32:33 -07:00
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 }}
2023-05-30 20:30:57 -07:00
{{- end }}