Install my notmuch configuration for Emacs with guix-home

This commit is contained in:
Tom Willemse 2023-06-21 22:57:04 -07:00
parent 22cd7bad72
commit bf90014ba8
2 changed files with 29 additions and 3 deletions

View file

@ -97,7 +97,8 @@
emacs-oni-compilation
emacs-oni-common-lisp
emacs-oni-gui
emacs-oni-magit))
emacs-oni-magit
emacs-oni-notmuch))
#:use-module ((oni packages hlwm-run-or-raise)
#:select (hlwm-run-or-raise))
#:use-module ((oni packages inbox-size)
@ -203,6 +204,7 @@
emacs-oni-common-lisp
emacs-oni-gui
emacs-oni-magit
emacs-oni-notmuch
gforth
;; Might be needed for certain icons?
hicolor-icon-theme

View file

@ -7,11 +7,13 @@
#:use-module (gnu packages llvm)
#:use-module (gnu packages cmake)
#:use-module (gnu packages bash)
#:use-module ((gnu packages mail)
#:select (emacs-notmuch))
#:use-module (oni packages emacs)
#:use-module (oni packages go))
(define-public emacs-oni-config
(let ((commit "9fe6381afd2ecb14194cafd7de91bc05bc35863f")
(let ((commit "af7cce50e8f7800a9c431647c7d2bbad565d9ad3")
(revision "0"))
(package
(name "emacs-oni-config")
@ -24,7 +26,7 @@
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32 "08ljp4d6h1d2hsckiwklz0nccj4m2rp16382hwfs1s6viqybk9s9"))))
(base32 "0kb6syaaxay6pvbghqjjxykwx45sqpnkyhsdy4s3wgx2hp3yxx75"))))
(build-system emacs-build-system)
(home-page "https://code.ryuslash.org/ryuslash/emacs-config")
(synopsis "My Emacs configuration")
@ -576,3 +578,25 @@ Emacs")))
("emacs-eshell-fringe-status" ,emacs-eshell-fringe-status)))
(synopsis "My Emacs Lisp configuration")
(description "This package provides my configuration for Emacs Lisp.")))
(define-public emacs-oni-sendmail
(package
(inherit emacs-oni-config)
(name "emacs-oni-sendmail")
(arguments
'(#:include '("oni-sendmail.el")))
(synopsis "My configuration to send email through Emacs.")
(description "This package provides my configuration for sending mail through Emacs.")))
(define-public emacs-oni-notmuch
(package
(inherit emacs-oni-config)
(name "emacs-oni-notmuch")
(arguments
'(#:include '("oni-notmuch.el")))
(propagated-inputs
(list emacs-oni-sendmail
emacs-notmuch
emacs-ol-notmuch))
(synopsis "My notmuch configuration for Emacs.")
(description "This package provides my configuration for notmuch.")))