adding back tangle

This commit is contained in:
Chris Cochrun 2024-01-23 05:47:13 -06:00
parent 96a80528b4
commit 37171ea9a9

View file

@ -408,7 +408,7 @@ Let's make xref use ripgrep instead of grep for speed.
** Fix NixOS ** Fix NixOS
I am currently using NixOS. In order for emacs to have access to certain programs, we need to set some environment variables 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 "/home/chris/.nix-profile/bin")
;; (add-to-list 'exec-path "/etc/profiles/per-user/chris/bin") ;; (add-to-list 'exec-path "/etc/profiles/per-user/chris/bin")
;; (add-to-list 'exec-path "/run/current-system/sw/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)) (load-file (expand-file-name "site-lisp/subdirs.el" store-path))
(when (boundp 'native-comp-eln-load-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/" store-path)))))
(add-to-list 'native-comp-eln-load-path (expand-file-name "native-lisp/" "/nix/store/iczsbrl9z6whxs55mrpmvq45mb8s0qbx-emacs-ellama-20231105.1147/"))
#+end_src #+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 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