From 44d4fbb5cf4bed95fdf5c8235ac6c22f6361e230 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Fri, 8 Sep 2023 11:14:13 +0200 Subject: Use Guix Home. --- init.org | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/init.org b/init.org index 242b29a..1536e95 100644 --- a/init.org +++ b/init.org @@ -57,11 +57,12 @@ Native compilation gives Emacs a speed boost, but it spews compiler warnings tha Emacs is an operating system and I use it as such (see [[http://elephly.net/posts/2016-02-14-ilovefs-emacs.html][this blog post]]). I rely on quite a few extensions that have been made available on various ELPA repositories. Recently, I have moved to installing and managing Emacs packages like any other software package on my system with the functional package manager [[https://gnu.org/s/guix][GNU Guix]]. I find this more reliable, although at first it is slightly less convenient as I can no longer just use =package.el= but first need to package the Elisp code for Guix. -I install a Guix profile just for Emacs in =~/.emacs.d/.guix-profile= using Guix Home. Make Emacs load packages from the profile: +I install a Guix profile just for Emacs using Guix Home. Make Emacs +load packages from the profile: #+begin_src elisp (setq package-directory-list - '("/home/rekado/.emacs.d/.guix-profile/share/emacs/site-lisp")) + '("/home/rekado/.guix-home/emacs-profile/share/emacs/site-lisp")) #+end_src * Better defaults @@ -1198,7 +1199,7 @@ This is even more stuff to be done after initialising packages. I still need to (savehist-mode) ;; PDF view mode -(setq pdf-info-epdfinfo-program "~/.emacs.d/.guix-profile/bin/epdfinfo") +(setq pdf-info-epdfinfo-program "~/.guix-home/emacs-profile/bin/epdfinfo") (pdf-tools-install) (add-to-list 'auto-mode-alist '("\\.pdf\\'" . pdf-view-mode)) -- cgit v1.2.3