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