aboutsummaryrefslogtreecommitdiffstats
path: root/oni
diff options
context:
space:
mode:
authorGravatar Tom Willemse2026-04-27 16:54:04 -0700
committerGravatar Tom Willemse2026-04-27 16:54:04 -0700
commit9fe123b53b9845f8874f9c054730dfd52bfb38f1 (patch)
treecb49ac12318bb94c719e73d04e8c8d4cde63bc62 /oni
parent780f7f5c5c0b5f22e2b3700d8ec3d2eac81e3847 (diff)
downloadnew-dotfiles-9fe123b53b9845f8874f9c054730dfd52bfb38f1.tar.gz
new-dotfiles-9fe123b53b9845f8874f9c054730dfd52bfb38f1.zip
pop-os: Add notmuch and sendmail configuration
Diffstat (limited to 'oni')
-rw-r--r--oni/home/config/pop-os.scm35
1 files changed, 34 insertions, 1 deletions
diff --git a/oni/home/config/pop-os.scm b/oni/home/config/pop-os.scm
index 8bae7c7..80edc2a 100644
--- a/oni/home/config/pop-os.scm
+++ b/oni/home/config/pop-os.scm
@@ -4,6 +4,7 @@
#:use-module ((gnu home services gnupg)
#:select (home-gpg-agent-service-type
home-gpg-agent-configuration))
+ #:use-module (gnu home services mail)
#:use-module (gnu packages)
#:use-module (gnu packages emacs)
#:use-module (gnu packages music)
@@ -25,6 +26,7 @@
#:use-module (oni home services herbstluftwm)
#:use-module ((oni home services mail)
#:select (home-mbsync-service-type))
+ #:use-module (oni home services notmuch)
#:use-module (oni home services polybar)
#:use-module (oni home services rofi)
#:use-module (oni home services xdisorg)
@@ -231,6 +233,7 @@
emacs-oni-outline
emacs-oni-sql
emacs-oni-logview
+ emacs-oni-notmuch
emacs-flycheck-phpstan
emacs-vue-ts-mode
@@ -300,4 +303,34 @@
")
(ignore-patterns '("GPATH" "GTAGS" "GRTAGS"))))
- (service home-emacs-org-mem-service-type))))))
+ (service home-emacs-org-mem-service-type)
+
+ (service home-msmtp-service-type
+ (home-msmtp-configuration
+ (defaults (msmtp-configuration
+ (auth? #t)
+ (tls? #t)
+ (tls-starttls? #t)
+ (port 587)))
+ (accounts
+ (list (msmtp-account
+ (name "punt")
+ ;; Use `secret-tool store --label=msmtp host smtp.gmail.com
+ ;; service smtp user ryuslash@gmail.com' to store the
+ ;; password.
+ (configuration (msmtp-configuration
+ (host "smtp.gmail.com")
+ (from "tom@punt.com")
+ (user "tom@punt.com"))))))
+ (default-account "punt")))
+
+ (service home-notmuch-service-type
+ (home-notmuch-configuration
+ (database-path "/home/tomwillemsen/documents/mail")
+ (user-primary-email "tom@punt.com")
+ (new-ignore '(".nnmaildir" ".mbsyncstate" ".uidvalidity"
+ ".mbsyncstate.journal" ".mbsyncstate.new"))))
+
+ (service home-emacs-ace-link-notmuch-service-type
+ (home-emacs-ace-link-notmuch-configuration
+ (default-key "C-S-e"))))))))