diff options
Diffstat (limited to 'tw/home/lap.scm')
-rw-r--r-- | tw/home/lap.scm | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/tw/home/lap.scm b/tw/home/lap.scm index d9a35e61..547715f1 100644 --- a/tw/home/lap.scm +++ b/tw/home/lap.scm @@ -12,6 +12,7 @@ #:use-module (gnu home services) #:use-module (gnu home services desktop) #:use-module (gnu home services guix) + #:use-module (gnu home services mail) #:use-module (gnu home services mcron) #:use-module (gnu home services pm) #:use-module (gnu home services shepherd) @@ -69,7 +70,23 @@ `(;; The file from git main is newer than the one bundled with the ;; packaged neomutt version and contains a few fixes. (".local/bin/mutt_oauth2.py" - ,(local-file "files/neomutt/contrib/oauth2/mutt_oauth2.py" #:recursive? #t)))))) + ,(local-file "files/neomutt/contrib/oauth2/mutt_oauth2.py" #:recursive? #t)))) + + (service home-msmtp-service-type + (home-msmtp-configuration + (defaults (msmtp-configuration + (tls? #t) + (tls-starttls? #f) ; use "real" TLS instead + (log-file "-"))) ; log to stdout + (accounts (list + (msmtp-account + (name "mythic") + (configuration + (msmtp-configuration + (host "smtp-auth.mythic-beasts.com") + (user "timo@twilken.net") + (password-eval "pass www/mythic-beasts/email/timo | head -1")))))) + (default-account "mythic"))))) (define-public %lap-home (home-environment |