This commit is contained in:
Brian Zalewski 2024-01-01 19:42:20 +00:00
parent 5b59d498b3
commit 9db8c76e2a

View file

@ -155,13 +155,12 @@
[rerere] [rerere]
enabled = true enabled = true
autoupdate = true autoupdate = true
# TODO: Upgrade this to use SendGrid instead
[sendemail] [sendemail]
smtpserver = smtp.gmail.com smtpserver = smtp.sendgrid.net
smtpuser = {{ default "" .user.gmail.username }} smtpuser = apikey
smtpencryption = tls smtpencryption = tls
smtpserverport = 587 smtpserverport = 587
smtpPass = {{- if and (stat (joinPath .host.home ".config" "age" "chezmoi.txt")) (stat (joinPath .chezmoi.sourceDir ".chezmoitemplates" "secrets" "GMAIL_PASSWORD")) }}{{ includeTemplate "secrets/GMAIL_PASSWORD" | decrypt | trim }}{{ else }}{{ default "" (env "GMAIL_PASSWORD") }}{{ end }} smtpPass = {{- if and (stat (joinPath .host.home ".config" "age" "chezmoi.txt")) (stat (joinPath .chezmoi.sourceDir ".chezmoitemplates" "secrets" "SENDGRID_API_KEY")) }}{{ includeTemplate "secrets/SENDGRID_API_KEY" | decrypt | trim }}{{ else }}{{ default "" (env "SENDGRID_API_KEY") }}{{ end }}
[status] [status]
showUntrackedFiles = all showUntrackedFiles = all
submoduleSummary = true submoduleSummary = true