aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemse2026-12-04 22:06:01 -0700
committerGravatar Tom Willemse2026-12-04 22:06:01 -0700
commitfd3adcaf9920c750a58b8310ac4e1eafdbb45fbc (patch)
tree77a60bef77acc6ce655b66e9c770eba316d0ff3f
parent19089505974f2fe147230b82a6d0bc9fbd09f998 (diff)
downloadnew-dotfiles-fd3adcaf9920c750a58b8310ac4e1eafdbb45fbc.tar.gz
new-dotfiles-fd3adcaf9920c750a58b8310ac4e1eafdbb45fbc.zip
8t88: Add some custom Emacs packages
-rw-r--r--oni/home/config/data.scm9
-rw-r--r--oni/packages/emacs.scm47
2 files changed, 51 insertions, 5 deletions
diff --git a/oni/home/config/data.scm b/oni/home/config/data.scm
index 5c36860..bbc336a 100644
--- a/oni/home/config/data.scm
+++ b/oni/home/config/data.scm
@@ -29,9 +29,7 @@
#:select (home-mbsync-service-type))
#:use-module (oni home services syncthing)
#:use-module (oni home services wm)
- #:use-module ((oni packages emacs)
- #:select (emacs-outli
- emacs-syncthing-status))
+ #:use-module (oni packages emacs)
#:use-module (oni packages emacs-config)
#:use-module (oni packages pick-random-wallpaper)
#:use-module (oni home services lisp))
@@ -108,7 +106,9 @@
emacs-oni-yasnippet
emacs-oni-sendmail
- gforth)))
+ gforth
+
+ emacs-consult-yasnippet)))
(services
(append
@@ -185,6 +185,7 @@
(service home-wakatime-service-type
(home-wakatime-configuration
+ (emacs-package my-emacs-wakatime-mode)
(api-url "https://waka.ryuslash.org/api")
(exclude '("COMMIT_EDITMSG$"
"TAG_EDITMSG$"))))
diff --git a/oni/packages/emacs.scm b/oni/packages/emacs.scm
index 56a7bf4..c4b3e06 100644
--- a/oni/packages/emacs.scm
+++ b/oni/packages/emacs.scm
@@ -17,7 +17,8 @@
#:use-module (gnu packages emacs-build)
#:use-module (gnu packages ruby)
#:use-module (gnu packages tree-sitter)
- #:use-module (rosenthal packages tree-sitter))
+ #:use-module (rosenthal packages tree-sitter)
+ #:use-module (rosenthal packages emacs-xyz))
(define-public emacs-ace-link-notmuch
(let ((commit "fb09673881ef0f7b7ad744c576a19f578df7c51d")
@@ -1101,3 +1102,47 @@ information. If you want to add a new kind of jump, override
`related-files-jumper-safety-functions'. If you want to add a new kind of
filler, override `related-files-fill and call `related-files-add-filler-type'.")
(license license:gpl3+)))
+
+(define-public my-emacs-wakatime-mode
+ (let ((commit "6e49c9944de30750811174b84acc5e70e4e7e931")
+ (revision "0"))
+ (package
+ (inherit emacs-wakatime-mode)
+ (version (git-version "1.1.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://git.sr.ht/~ryuslash/wakatime-mode")
+ (commit commit)))
+ (file-name (git-file-name (package-name emacs-wakatime-mode) version))
+ (sha256
+ (base32 "1xzdkdwgkhnswi6abavq7a05vqx5aj0wy5fch33ylhsi4kwrway7")))))))
+
+(define-public emacs-consult-yasnippet
+ (let ((commit "9f6fb0221078dc246a10d4c7923a5be67e8266fb")
+ (revision "0"))
+ (package
+ (name "emacs-consult-yasnippet")
+ (version (git-version "0.2" revision commit))
+ (source
+ (origin
+ (uri (git-reference
+ (url "https://git.sr.ht/~ryuslash/consult-yasnippet")
+ (commit commit)))
+ (method git-fetch)
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1qyp39bywdnix9105qjx0dm0vxka6mw07mzh8fs618l8j3nymf4s"))))
+ (arguments
+ (list #:include
+ #~(list "^consult-yasnippet.el")))
+ (propagated-inputs
+ (list emacs-consult
+ emacs-yasnippet))
+ (build-system emacs-build-system)
+ (home-page "https://git.sr.ht/~ryuslash/consult-yasnippet")
+ (synopsis "A development fork of consult-yasnippet")
+ (description "Interactively select a yasnippet snippet through completing-read with in buffer
+previews.")
+ (license license:gpl3+))))