Compare commits
No commits in common. "b144e84ea5b013fdd161287d4d5a6eb12f02e53b" and "07fa6f0888b457202e24f80396f58eef6dcc59a3" have entirely different histories.
b144e84ea5
...
07fa6f0888
6 changed files with 14 additions and 51 deletions
|
@ -109,8 +109,7 @@
|
|||
"}\n"
|
||||
"preexec_functions+=(horizontal-rule)\n"
|
||||
"precmd_functions+=(horizontal-rule)\n"
|
||||
"PROMPT=\"%T \\$(spwd) %B%(?.%F{2}.%F{1}[%?])>%b%f \"")
|
||||
(local-file "zsh/guix-environment.zsh"))))))
|
||||
"PROMPT=\"%T \\$(spwd) %B%(?.%F{2}.%F{1}[%?])>%b%f \""))))))
|
||||
|
||||
(define home-guile-service
|
||||
(service home-guile-service-type
|
||||
|
|
|
@ -40,9 +40,6 @@
|
|||
#:select (channel
|
||||
make-channel-introduction
|
||||
openpgp-fingerprint))
|
||||
#:use-module ((guix gexp)
|
||||
#:select (local-file
|
||||
mixed-text-file))
|
||||
#:use-module ((guix packages)
|
||||
#:select (package-name))
|
||||
#:use-module ((guix transformations)
|
||||
|
@ -110,8 +107,7 @@
|
|||
emacs-oni-common-lisp
|
||||
emacs-oni-gui
|
||||
emacs-oni-magit
|
||||
emacs-oni-notmuch
|
||||
emacs-oni-hy))
|
||||
emacs-oni-notmuch))
|
||||
#:use-module ((oni packages hlwm-run-or-raise)
|
||||
#:select (hlwm-run-or-raise))
|
||||
#:use-module ((oni packages inbox-size)
|
||||
|
@ -219,7 +215,6 @@
|
|||
emacs-oni-gui
|
||||
emacs-oni-magit
|
||||
emacs-oni-notmuch
|
||||
emacs-oni-hy
|
||||
gforth
|
||||
recutils
|
||||
emacs-rec-mode
|
||||
|
@ -285,17 +280,7 @@
|
|||
|
||||
(service home-emacs-service-type
|
||||
(home-emacs-configuration
|
||||
(package emacs-next)
|
||||
(configurations
|
||||
(list
|
||||
(local-file "../services/emacs/init.el")
|
||||
(mixed-text-file
|
||||
"init.el"
|
||||
"(with-eval-after-load 'hy-mode (require 'oni-hy))\n"
|
||||
"(setq custom-file \"~/.config/emacs/custom.el\")\n"
|
||||
"(load custom-file)\n"
|
||||
"(provide 'init)\n"
|
||||
";;; init.el ends here\n")))))
|
||||
(package emacs-next)))
|
||||
|
||||
(service home-flameshot-service-type)
|
||||
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
if [ -n "$GUIX_ENVIRONMENT" ]; then
|
||||
export PROMPT="[dev] $PROMPT"
|
||||
fi
|
|
@ -1,9 +1,7 @@
|
|||
(define-module (oni home services emacs)
|
||||
#:use-module ((gnu services configuration)
|
||||
#:select (serialize-package
|
||||
define-configuration
|
||||
text-config?
|
||||
serialize-text-config))
|
||||
define-configuration))
|
||||
#:use-module ((gnu packages emacs)
|
||||
#:select (emacs))
|
||||
#:use-module ((gnu home services)
|
||||
|
@ -17,8 +15,7 @@
|
|||
#:use-module ((guix gexp)
|
||||
#:select (gexp
|
||||
file-append
|
||||
local-file
|
||||
mixed-text-file))
|
||||
local-file))
|
||||
#:use-module ((guix packages)
|
||||
#:select (package?))
|
||||
|
||||
|
@ -28,10 +25,7 @@
|
|||
(define-configuration home-emacs-configuration
|
||||
(package
|
||||
(package emacs)
|
||||
"Package to use for setting Emacs")
|
||||
(configurations
|
||||
(text-config '())
|
||||
"A list of other configuration files to autoload"))
|
||||
"Package to use for setting Emacs"))
|
||||
|
||||
(define (add-emacs-packages config)
|
||||
(list (home-emacs-configuration-package config)))
|
||||
|
@ -50,10 +44,7 @@
|
|||
(stop #~(make-kill-destructor)))))
|
||||
|
||||
(define (home-emacs-config-files config)
|
||||
`((".emacs.d/init.el"
|
||||
,(mixed-text-file
|
||||
"init.el"
|
||||
(serialize-text-config config (home-emacs-configuration-configurations config))))))
|
||||
`((".emacs.d/init.el" ,(local-file "emacs/init.el"))))
|
||||
|
||||
(define home-emacs-service-type
|
||||
(service-type
|
||||
|
|
|
@ -50,3 +50,8 @@
|
|||
(with-eval-after-load 'electric
|
||||
(add-hook 'electric-quote-inhibit-functions #'oni-in-word-p))
|
||||
|
||||
(setq custom-file "~/.config/emacs/custom.el")
|
||||
(load custom-file)
|
||||
|
||||
(provide 'init)
|
||||
;;; init.el ends here
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
#:use-module (oni packages go))
|
||||
|
||||
(define-public emacs-oni-config
|
||||
(let ((commit "23ff70c4ef428bf554b4448c860e9b61c2db84f4")
|
||||
(let ((commit "e38bb344e4196aa2a1488e9611d1ccecdeb5acd6")
|
||||
(revision "0"))
|
||||
(package
|
||||
(name "emacs-oni-config")
|
||||
|
@ -26,7 +26,7 @@
|
|||
(commit commit)))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "04i2xham1zwip85zrx76f1mvkaicnkfyw1bp98wx999igg1vlivx"))))
|
||||
(base32 "15c7iyx8hisb07dpk6wi1dh8alirz0v7srca986a427b2h6002f1"))))
|
||||
(build-system emacs-build-system)
|
||||
(home-page "https://code.ryuslash.org/ryuslash/emacs-config")
|
||||
(synopsis "My Emacs configuration")
|
||||
|
@ -601,17 +601,3 @@ Emacs")))
|
|||
emacs-ol-notmuch))
|
||||
(synopsis "My notmuch configuration for Emacs.")
|
||||
(description "This package provides my configuration for notmuch.")))
|
||||
|
||||
(define-public emacs-oni-hy
|
||||
(package
|
||||
(inherit emacs-oni-config)
|
||||
(name "emacs-oni-hy")
|
||||
(arguments
|
||||
'(#:include '("oni-hy\\.el$")))
|
||||
(propagated-inputs
|
||||
(list emacs-hy-mode
|
||||
emacs-oni-paredit
|
||||
emacs-oni-yasnippet
|
||||
emacs-rainbow-delimiters))
|
||||
(synopsis "My Hy configuration")
|
||||
(description "This package provides my configuration for Hy.")))
|
||||
|
|
Loading…
Reference in a new issue