Hello everyone. Yesterday I was finally able to piece together a working configuration of home-l2md service from https://git.sr.ht/~abcdw/rde/tree/master/item/src/gnu/home-services/mail.scm
For anyone wanting to use this service, but for whatever reason not able, I
share my code.
It is a minimal implementation — just enough to get started.
The home-l2md service object must be part of a user’s home-environment, not
system’s services!
Thanks to the RDE contributor(s) who cobbled together this service.
While the implementation was difficult for me to understand, I would definitely
not be able to understand the l2md and public-inbox tools.
(define (l2md-maildir name)
(string-append "~/Public/l2md/"
name))
(define l2md-repo-guix-devel
(rde/gnu:home-services:mail:l2md-repo
(name "guix-devel")
(urls "https://yhetil.org/guix-devel/0")
(maildir (l2md-maildir name))))
(define l2md-repo-guix-user
(rde/gnu:home-services:mail:l2md-repo
(name "guix-user")
(urls "https://yhetil.org/guix-user/0")
(maildir (l2md-maildir name))))
(define l2md-configuration
(rde/gnu:home-services:mail:home-l2md-configuration
(autostart? #t)
(base "~/Public/l2md")
(repos (list l2md-repo-guix-devel
l2md-repo-guix-user))))
(define home-l2md
(gnu:services:service rde/gnu:home-services:mail:home-l2md-service-type
l2md-configuration))
signature.asc
Description: This is a digitally signed message part.
