diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2023-09-08 11:14:13 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2023-09-08 11:14:13 +0200 |
commit | 44d4fbb5cf4bed95fdf5c8235ac6c22f6361e230 (patch) | |
tree | a8f11360096d6180070499e2d03eeea4107d54b9 /init.org | |
parent | e3c481ac899857a90a516323cf6293465a2d8f2f (diff) |
Use Guix Home.
Diffstat (limited to 'init.org')
-rw-r--r-- | init.org | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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)) |