install.fairie/home/dot_config/postfix/private_sasl_passwd.tmpl
Brian Zalewski 0932f983b8 Update 15 files
- /home/.chezmoitemplates/secrets/key-sendgrid-api-key
- /home/.chezmoidata.yaml
- /home/dot_config/postfix/private_sasl_passwd.tmpl
- /home/dot_config/postfix/main.cf
- /home/dot_config/slack-term/config.tmpl
- /home/dot_config/tabby/config.yaml.tmpl
- /home/dot_config/warp/private_mdm.xml.tmpl
- /home/dot_config/samba/config.tmpl
- /home/dot_config/npm/npmrc.tmpl
- /home/dot_config/ngrok/ngrok.yml.tmpl
- /home/dot_config/rclone/merge_private_rclone.conf.tmpl
- /home/.chezmoiscripts/universal/run_onchange_after_05-postfix.sh.tmpl
- /home/.chezmoitemplates/secrets/SENDGRID_API_KEY
- /docs/TODO.md
- /software.yml
2023-04-19 12:13:42 +00:00

3 lines
No EOL
432 B
Cheetah

{{- if and (stat (joinPath .host.home ".config" "age" "chezmoi.txt")) (or (stat (joinPath .chezmoi.sourceDir ".chezmoitemplates" "secrets" "SENDGRID_API_KEY")) (env "SENDGRID_API_KEY")) -}}
[smtp.sendgrid.net]:587 apikey:{{ if (stat (joinPath .chezmoi.sourceDir ".chezmoitemplates" "secrets" "SENDGRID_API_KEY")) }}{{ includeTemplate "secrets/SENDGRID_API_KEY" | decrypt }}{{ else }}{{ env "SENDGRID_API_KEY" }}{{ end }}
{{- end -}}