diff options
author | Oscar Najera <hi@oscarnajera.com> | 2023-09-18 15:31:22 +0200 |
---|---|---|
committer | Oscar Najera <hi@oscarnajera.com> | 2023-09-18 15:31:22 +0200 |
commit | a3e317db5b03a9aaed8b70e0ba8e27c958cf2be4 (patch) | |
tree | c77e0a75c6a57dd24560addd84cf8b0630226ebf /install.scm | |
parent | 729db4356623b88623e59d647a3267183949692c (diff) | |
download | dotfiles-a3e317db5b03a9aaed8b70e0ba8e27c958cf2be4.tar.gz dotfiles-a3e317db5b03a9aaed8b70e0ba8e27c958cf2be4.tar.bz2 dotfiles-a3e317db5b03a9aaed8b70e0ba8e27c958cf2be4.zip |
new email
Diffstat (limited to 'install.scm')
-rwxr-xr-x | install.scm | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/install.scm b/install.scm index d15c804..4569bb6 100755 --- a/install.scm +++ b/install.scm @@ -174,15 +174,23 @@ (define (mail-config) (log-msg 'INFO "Configuring mail") (log-msg 'INFO " Symlink mbsync") - (config-links "mail/dot-mbsyncrc.personal" "~/.mbsyncrc" #f) + (config-links + (if (string=? (gethostname) "obp") + "mail/dot-mbsyncrc.byteplant" + "mail/dot-mbsyncrc.personal") + "~/.mbsyncrc" #f) (let* ((notmuch-config-file (expand-file "~/.notmuch-config")) (emails (list "hi@oscarnajera.com" "hello@oscarnajera.com" "najera.oscar@gmail.com" + "oscar@byteplant.com" )) - (user-mail "hi@oscarnajera.com") + (user-mail + (if (string=? (gethostname) "obp") + "oscar@byteplant.com" + "hi@oscarnajera.com")) ;; setting up notmuch config (config `((database (path ,(expand-file "~/.mail"))) |