From b041cf009b6468fc46df22909cca4f060a1ce606 Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Sun, 18 Feb 2024 14:35:20 +0100 Subject: [PATCH] git: extract sendemail config with creds to separate file --- dot_config/git/private_config.tmpl | 11 +++-------- dot_config/git/private_sendemail.tmpl | 8 ++++++++ 2 files changed, 11 insertions(+), 8 deletions(-) create mode 100644 dot_config/git/private_sendemail.tmpl diff --git a/dot_config/git/private_config.tmpl b/dot_config/git/private_config.tmpl index c483570..5989fa4 100644 --- a/dot_config/git/private_config.tmpl +++ b/dot_config/git/private_config.tmpl @@ -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 + diff --git a/dot_config/git/private_sendemail.tmpl b/dot_config/git/private_sendemail.tmpl new file mode 100644 index 0000000..1cdbaa6 --- /dev/null +++ b/dot_config/git/private_sendemail.tmpl @@ -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 +