aboutsummaryrefslogtreecommitdiffstats
path: root/emacs
diff options
context:
space:
mode:
authorGravatar Tom Willemse2026-07-24 14:59:39 -0700
committerGravatar Tom Willemse2026-08-26 23:04:25 -0700
commit6b6316652e4bfbba3436359be862ca99379216df (patch)
treee278aff0c36e44bf94fa11313636d3df3c9c269b /emacs
parent113c8d05ddee33550ef14ee40e01429ca6dbc0b3 (diff)
downloadnew-dotfiles-6b6316652e4bfbba3436359be862ca99379216df.tar.gz
new-dotfiles-6b6316652e4bfbba3436359be862ca99379216df.zip
emacs: Move package configuration to init.org
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.emacs.d/init.org10
1 files changed, 6 insertions, 4 deletions
diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org
index 01f1bbf..e957286 100644
--- a/emacs/.emacs.d/init.org
+++ b/emacs/.emacs.d/init.org
@@ -66,10 +66,12 @@ So now that that's settled, I should be writing ='= in words like “shouldn't''
Add MELPA to package archives, this lets me install more packages.
#+begin_src emacs-lisp
- (eval-and-compile
- (use-package package
- :config
- (add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t)))
+ (use-package package
+ :if (eq system-type 'darwin)
+ :demand t
+ :config
+ (add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t)
+ (add-to-list 'package-archives '("oni" . "https://ryuslash.srht.site/emacs-config/packages/")))
#+end_src
Make use-package default to ensuring everything. This way each =use-package= doesn't need to have its own ~:ensure t~ and when I use Guix to install these modules they don't try to download everything from everywhere else.