From: Jakub Czajka Date: Thu, 22 Dec 2022 20:27:48 +0000 (+0100) Subject: [home] Install emacs. X-Git-Url: https://git.ekhem.eu.org/?a=commitdiff_plain;h=0f5d0e2417a089b6c85f32ac9fe93c3b464bd205;p=guix.git [home] Install emacs. --- diff --git a/conf/home/emacs.scm b/conf/home/emacs.scm new file mode 100644 index 0000000..4615e2c --- /dev/null +++ b/conf/home/emacs.scm @@ -0,0 +1,21 @@ +;; Copyright (c) 2022 Jakub Czajka +;; License: GPL-3.0 or later. +;; +;; emacs.scm - custom emacs configuration. + +(define-module (conf home emacs) + #:use-module (conf home program) + #:use-module (gnu packages emacs) + #:use-module (gnu services) + #:use-module (guix gexp) + #:export (emacs-services)) + +(define emacs-service + (service home-program-service-type + (home-program-configuration + (packages + (list emacs)) + (dotfiles '())))) + +(define emacs-services + (list emacs-service)) diff --git a/home.scm b/home.scm index 7dcee55..115c808 100644 --- a/home.scm +++ b/home.scm @@ -4,6 +4,7 @@ ;; home.scm - home directory configuration for GNU Guix. (use-modules (conf home bash) + (conf home emacs) (conf home program) (gnu home services) (gnu packages base) @@ -19,4 +20,5 @@ (home-program-configuration (packages (list git)) (dotfiles (list "git/.config/git/config"))))) - bash-services))) + bash-services + emacs-services)))