git: extract sendemail config with creds to separate file

This commit is contained in:
Gabriel Augendre 2024-02-18 14:35:20 +01:00
parent e01079b745
commit b041cf009b
2 changed files with 11 additions and 8 deletions

View file

@ -55,13 +55,6 @@
editor = nvim
attributesfile = {{ .chezmoi.homeDir }}/.gitattributes
autocrlf = input
[sendemail]
smtpserver = smtp.migadu.com
smtpuser = {{ (bitwarden "item" "Migadu email").login.username }}
smtpencryption = ssl
smtpserverport = 465
smtppass = {{ (bitwarden "item" "Migadu email").login.password | quote }}
confirm = auto
[submodule]
recurse = true
[fetch]
@ -120,4 +113,6 @@
helper = osxkeychain
[include]
path = ovh.config
path = work.config
path = sendemail

View file

@ -0,0 +1,8 @@
[sendemail]
smtpserver = smtp.migadu.com
smtpuser = {{ (bitwarden "item" "Migadu email").login.username }}
smtpencryption = ssl
smtpserverport = 465
smtppass = {{ (bitwarden "item" "Migadu email").login.password | quote }}
confirm = auto