summaryrefslogtreecommitdiff
path: root/home-configuration.scm
diff options
context:
space:
mode:
authorCharles Roelli <charles@aurox.ch>2026-01-26 15:11:56 +0100
committerCharles Roelli <charles@aurox.ch>2026-01-26 15:11:56 +0100
commit4e5b27253c116b1ab553ecbe5f0c6f4f6136e5a6 (patch)
tree34e2ac4a1ceb2a81cc250360a4130763c1650c0d /home-configuration.scm
parentdc26e83c0edd677e6af644f04f1afa1436aaabe6 (diff)
Set up home-msmtp-service-type
Diffstat (limited to 'home-configuration.scm')
-rw-r--r--home-configuration.scm22
1 files changed, 21 insertions, 1 deletions
diff --git a/home-configuration.scm b/home-configuration.scm
index 100ad55..2cb142a 100644
--- a/home-configuration.scm
+++ b/home-configuration.scm
@@ -11,6 +11,7 @@
(guix gexp)
(gnu home services)
(gnu home services guix)
+ (gnu home services mail)
(gnu home services shells))
(home-environment
@@ -32,7 +33,8 @@
(services
(append (list (simple-service 'home-environment-variables-service
home-environment-variables-service-type
- '(("EDITOR" . "emacsclient")))
+ '(("EDITOR" . "emacsclient")
+ ("PASSWORD_STORE_DIR" . "/home/charles/Code/home/.password-store")))
(service home-bash-service-type
(home-bash-configuration
(aliases '(("egrep" . "egrep --color=auto")
@@ -50,6 +52,24 @@
"bash_logout")))))
(service home-files-service-type
(list (list ".emacs" (local-file ".emacs" "emacs"))))
+ (service home-msmtp-service-type
+ (home-msmtp-configuration
+ (accounts
+ (list
+ (msmtp-account
+ (name "charles@aurox.ch")
+ (configuration
+ (msmtp-configuration
+ (auth? #t)
+ (tls? #t)
+ (tls-starttls? #f)
+ (log-file "/home/charles/log/mail/charles@aurox.ch.log")
+ (from "charles@aurox.ch")
+ (host "smtp.migadu.com")
+ (port 465)
+ (user "charles@aurox.ch")
+ (password-eval "pass charles@aurox.ch"))))))
+ (default-account "charles@aurox.ch")))
(simple-service 'variant-packages-service
home-channels-service-type
(list