package: add to package-archives in config step

This commit is contained in:
Evie Litherland-Smith 2024-04-17 12:12:59 +01:00
parent cb53b7b40e
commit 4e93a40717

View file

@ -7,9 +7,6 @@
;; Configure packages archives with priority
(use-package package
:init
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/"))
(add-to-list 'package-archives '("stable" . "https://stable.melpa.org/packages/"))
:custom
(package-archive-priorities '(("melpa" . 10) ("stable" . 5) ("nongnu" . 5) ("gnu" . 0)))
(package-selected-packages
@ -46,6 +43,8 @@
elfeed elfeed-org elfeed-tube elfeed-tube-mpv
))
:config
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/"))
(add-to-list 'package-archives '("stable" . "https://stable.melpa.org/packages/"))
(package-initialize))
(setq custom-file (locate-user-emacs-file "custom.el"))