diff options
| author | 2026-07-24 14:59:39 -0700 | |
|---|---|---|
| committer | 2026-07-24 14:59:39 -0700 | |
| commit | 4dc6c7be531a274eff6db811709f22384a53dca6 (patch) | |
| tree | 8bb84133916af409a9acbf04fba0814b2a73adcb /emacs | |
| parent | a6692534f13a729fab2ee9c3235f3038d500428f (diff) | |
| download | new-dotfiles-4dc6c7be531a274eff6db811709f22384a53dca6.tar.gz new-dotfiles-4dc6c7be531a274eff6db811709f22384a53dca6.zip | |
emacs: Move package configuration to init.org
Diffstat (limited to 'emacs')
| -rw-r--r-- | emacs/.emacs.d/init.org | 10 |
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. |
