summaryrefslogtreecommitdiff
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
parentdc26e83c0edd677e6af644f04f1afa1436aaabe6 (diff)
Set up home-msmtp-service-type
-rw-r--r--.emacs2
-rw-r--r--.password-store/charles@aurox.ch.gpg17
-rw-r--r--home-configuration.scm22
3 files changed, 40 insertions, 1 deletions
diff --git a/.emacs b/.emacs
index ce3f676..47f15cd 100644
--- a/.emacs
+++ b/.emacs
@@ -11,6 +11,8 @@
"charlesroelli/irc.libera.chat@laptop" :full-name
"Charles Roelli" :encryption tls)))
'(savehist-mode t)
+ '(send-mail-function 'sendmail-send-it)
+ '(sendmail-program "msmtp")
'(user-full-name "Charles Roelli")
'(user-mail-address "charles@aurox.ch"))
(custom-set-faces
diff --git a/.password-store/charles@aurox.ch.gpg b/.password-store/charles@aurox.ch.gpg
new file mode 100644
index 0000000..e6a0952
--- /dev/null
+++ b/.password-store/charles@aurox.ch.gpg
@@ -0,0 +1,17 @@
+-----BEGIN PGP MESSAGE-----
+
+hQIMAwAAAAAAAAAAARAAimxqxAj49R00fPIQZqIiN5/4FZEs8Klcu1taUbZS4PnG
+SgQ9ptS8h68S1nOoJlim13ygVb2wivAKLvIzGDyUMJfAqKnUzTKfiMTPGkVAXEzv
+MRpQwyDuRje26D7gTQ1m1/urVjXNnQ7p2EACfvBde5tsLX+zEada2Vywy40bpQkz
+sDSjcGexV8Dzt8UDw5bXh6E1wy50No3jNM+TQGRfX5G8joNUyIaO/WlSA4d9GhvM
+xrrXNVZN3y2HriI4Vb+45wrab2P/tG+9I3UStBmUjZkYyQZWCXBxBtzS0TiXV+F0
+e1MTQquC81PF1x/UEMYCn8Fm2NAvvM6DqXCiu1NS+wDMRUG+hr4MRId6qD7JFw+v
+O9UJiyYG3pR/4wnYu8dWdFBomUGNf2a8GEBc61GO8WGosGdnWtj4euF3b52Xu7ym
+sOq+nfLszjajSpsOxRwFi1lAmB6SoqCi3ZpWQ5LH2j6MyRdABaBwMJCI28W178i1
+2BNTfYwFnhShhQFHXaj45ySUncoc+IriJ/lFFgIhXR5AmFs/GGEUipfRP9KjYbH7
+LH8jj2iOO3UnQ55UuTXN+UKikeWoXDMOMHjtOL9MaFtOhDwy4Pnyo8oHDgKfsrch
+v4X0n1nrrUz2tGPJTITQvM/689MtrnC4LSVpQCe80ZEE/0J4mhjtNsW//yF3uw3S
+RgHgcFSJ50EndU+RMJ+mwunQ4PaMy41qToexxBl+SpttOFVNFpKw6rf71lTg2AWm
+6RYH6UWQE9K1JU81atybfHVzLaPm4dw=
+=RrGV
+-----END PGP MESSAGE-----
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