package: add to package-archives in config step
This commit is contained in:
parent
cb53b7b40e
commit
4e93a40717
5
init.el
5
init.el
|
@ -7,9 +7,6 @@
|
||||||
|
|
||||||
;; Configure packages archives with priority
|
;; Configure packages archives with priority
|
||||||
(use-package package
|
(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
|
:custom
|
||||||
(package-archive-priorities '(("melpa" . 10) ("stable" . 5) ("nongnu" . 5) ("gnu" . 0)))
|
(package-archive-priorities '(("melpa" . 10) ("stable" . 5) ("nongnu" . 5) ("gnu" . 0)))
|
||||||
(package-selected-packages
|
(package-selected-packages
|
||||||
|
@ -46,6 +43,8 @@
|
||||||
elfeed elfeed-org elfeed-tube elfeed-tube-mpv
|
elfeed elfeed-org elfeed-tube elfeed-tube-mpv
|
||||||
))
|
))
|
||||||
:config
|
:config
|
||||||
|
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/"))
|
||||||
|
(add-to-list 'package-archives '("stable" . "https://stable.melpa.org/packages/"))
|
||||||
(package-initialize))
|
(package-initialize))
|
||||||
|
|
||||||
(setq custom-file (locate-user-emacs-file "custom.el"))
|
(setq custom-file (locate-user-emacs-file "custom.el"))
|
||||||
|
|
Loading…
Reference in a new issue