From 37171ea9a9d22a27817716b9e09808064b70b8e2 Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Tue, 23 Jan 2024 05:47:13 -0600 Subject: [PATCH] adding back tangle --- README.org | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/README.org b/README.org index 372babc9..f917af4f 100644 --- a/README.org +++ b/README.org @@ -408,7 +408,7 @@ Let's make xref use ripgrep instead of grep for speed. ** Fix NixOS I am currently using NixOS. In order for emacs to have access to certain programs, we need to set some environment variables -#+begin_src emacs-lisp :tangle no +#+begin_src emacs-lisp :tangle yes (add-to-list 'exec-path "/home/chris/.nix-profile/bin") ;; (add-to-list 'exec-path "/etc/profiles/per-user/chris/bin") ;; (add-to-list 'exec-path "/run/current-system/sw/bin") @@ -438,8 +438,6 @@ I am currently using NixOS. In order for emacs to have access to certain program (load-file (expand-file-name "site-lisp/subdirs.el" store-path)) (when (boundp 'native-comp-eln-load-path) (add-to-list 'native-comp-eln-load-path (expand-file-name "native-lisp/" store-path))))) - -(add-to-list 'native-comp-eln-load-path (expand-file-name "native-lisp/" "/nix/store/iczsbrl9z6whxs55mrpmvq45mb8s0qbx-emacs-ellama-20231105.1147/")) #+end_src Also due to using greetd, emacs isn't started with the environment from the system, so let's make sure it knows which wayland display we are using