Update file config.tmpl

This commit is contained in:
Brian Zalewski 2023-03-31 03:41:32 +00:00
parent f44301fdcb
commit 8b52e6666e

View file

@ -128,7 +128,6 @@
diffFilter = delta --color-only
[merge]
conflictstyle = diff3
ff = only
renamelimit = 0
summary = true
stat = true
@ -155,7 +154,7 @@
smtpuser = {{ default "" .user.gmail.username }}
smtpencryption = tls
smtpserverport = 587
smtpPass = {{ default "" (env "GMAIL_PASSWORD") }}
smtpPass = {{- if and (stat (joinPath .host.home ".config" "age" "chezmoi.txt")) (stat (joinPath .chezmoi.sourceDir ".chezmoitemplates" "secrets" "GMAIL_PASSWORD")) }}{{ includeTemplate "secrets/GMAIL_PASSWORD" | decrypt }}{{ else }}{{ default "" (env "GMAIL_PASSWORD") }}{{ end }}
[status]
showUntrackedFiles = all
submoduleSummary = true