aboutsummaryrefslogtreecommitdiffstats
path: root/emacs
diff options
context:
space:
mode:
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.