diff options
author | Simon Parri <simonparri@ganzeria.com> | 2025-08-26 11:52:36 -0500 |
---|---|---|
committer | Simon Parri <simonparri@ganzeria.com> | 2025-08-26 11:52:36 -0500 |
commit | b27b1bcaf2994efe1293e2ad9764b005071a72af (patch) | |
tree | 0318c2886c639c49685db705c70e2d77b72e0c3d /common/.emacs.d | |
parent | 7a9a19026044959b3e306ff497fb50200090639b (diff) | |
download | dotfiles-b27b1bcaf2994efe1293e2ad9764b005071a72af.tar.gz dotfiles-b27b1bcaf2994efe1293e2ad9764b005071a72af.zip |
Emacs: Add NixOS-installed packages to package.el's directory list
Diffstat (limited to 'common/.emacs.d')
-rw-r--r-- | common/.emacs.d/init.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/common/.emacs.d/init.el b/common/.emacs.d/init.el index ef2e99e..3ec6f05 100644 --- a/common/.emacs.d/init.el +++ b/common/.emacs.d/init.el @@ -36,7 +36,10 @@ ("nongnu" . 9) ("melpa-stable" . 5) ("melpa" . 1)) - package-menu-hide-low-priority t)) + package-menu-hide-low-priority t) + (when (file-directory-p "/run/current-system") + (cl-pushnew "/run/current-system/sw/share/emacs/site-lisp/elpa" package-directory-list + :test #'string=))) (use-package anaphora :demand t |