Move package-selected-packages definition to install.el
This commit is contained in:
parent
f1689c7fb5
commit
fb4d680609
33
init.el
33
init.el
|
@ -14,39 +14,6 @@
|
||||||
(use-package package
|
(use-package package
|
||||||
: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
|
|
||||||
'(
|
|
||||||
;; Theme
|
|
||||||
catppuccin-theme
|
|
||||||
;; UI
|
|
||||||
all-the-icons nerd-icons nerd-icons-completion nerd-icons-corfu nerd-icons-dired nerd-icons-ibuffer doom-modeline diminish ligature page-break-lines helpful which-key link-hint diff-hl
|
|
||||||
;; Completion
|
|
||||||
cape consult consult-eglot consult-flyspell corfu corfu-terminal embark embark-consult marginalia orderless vertico
|
|
||||||
;; Snippets
|
|
||||||
tempel tempel-collection
|
|
||||||
;; spell-checking
|
|
||||||
flyspell-correct
|
|
||||||
;; password-store
|
|
||||||
pass password-store password-store-otp
|
|
||||||
;; IDE
|
|
||||||
treesit-auto nushell-ts-mode flymake-popon flymake-collection flymake-lua flymake-ruff flymake-clippy flymake-eslint flymake-shellcheck apheleia direnv rainbow-delimiters aggressive-indent nix-mode lua-mode cargo
|
|
||||||
;; Media
|
|
||||||
emms
|
|
||||||
;; org-mode
|
|
||||||
org-roam org-noter org-journal
|
|
||||||
;; org-cite
|
|
||||||
citar citar-embark
|
|
||||||
;; org-plot
|
|
||||||
gnuplot
|
|
||||||
;; Projects
|
|
||||||
ibuffer-project magit forge
|
|
||||||
;; Writing
|
|
||||||
markdown-mode pandoc-mode auctex auctex-latexmk latex-preview-pane
|
|
||||||
;; Email
|
|
||||||
mu4e
|
|
||||||
;; RSS/YouTube feeds
|
|
||||||
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 '("melpa" . "https://melpa.org/packages/"))
|
||||||
(add-to-list 'package-archives '("stable" . "https://stable.melpa.org/packages/"))
|
(add-to-list 'package-archives '("stable" . "https://stable.melpa.org/packages/"))
|
||||||
|
|
34
install.el
34
install.el
|
@ -1,8 +1,42 @@
|
||||||
;;; install.el -- Handle installing selected packages -*- lexical-binding: t -*-
|
;;; install.el -- Handle installing selected packages -*- lexical-binding: t -*-
|
||||||
;;; Commentary:
|
;;; Commentary:
|
||||||
;;; Code:
|
;;; Code:
|
||||||
|
(require 'package)
|
||||||
(setq prog-mode-hook nil
|
(setq prog-mode-hook nil
|
||||||
lisp-data-mode-hook nil)
|
lisp-data-mode-hook nil)
|
||||||
|
(setopt package-selected-packages
|
||||||
|
'(
|
||||||
|
;; Theme
|
||||||
|
catppuccin-theme
|
||||||
|
;; UI
|
||||||
|
all-the-icons nerd-icons nerd-icons-completion nerd-icons-corfu nerd-icons-dired nerd-icons-ibuffer doom-modeline diminish ligature page-break-lines helpful which-key link-hint diff-hl
|
||||||
|
;; Completion
|
||||||
|
cape consult consult-eglot consult-flyspell corfu corfu-terminal embark embark-consult marginalia orderless vertico
|
||||||
|
;; Snippets
|
||||||
|
tempel tempel-collection
|
||||||
|
;; spell-checking
|
||||||
|
flyspell-correct
|
||||||
|
;; password-store
|
||||||
|
pass password-store password-store-otp
|
||||||
|
;; IDE
|
||||||
|
treesit-auto nushell-ts-mode flymake-popon flymake-collection flymake-lua flymake-ruff flymake-clippy flymake-eslint flymake-shellcheck apheleia direnv rainbow-delimiters aggressive-indent nix-mode lua-mode cargo
|
||||||
|
;; Media
|
||||||
|
emms
|
||||||
|
;; org-mode
|
||||||
|
org-roam org-noter org-journal
|
||||||
|
;; org-cite
|
||||||
|
citar citar-embark
|
||||||
|
;; org-plot
|
||||||
|
gnuplot
|
||||||
|
;; Projects
|
||||||
|
ibuffer-project magit forge
|
||||||
|
;; Writing
|
||||||
|
markdown-mode pandoc-mode auctex auctex-latexmk latex-preview-pane
|
||||||
|
;; Email
|
||||||
|
mu4e
|
||||||
|
;; RSS/YouTube feeds
|
||||||
|
elfeed elfeed-org elfeed-tube elfeed-tube-mpv
|
||||||
|
))
|
||||||
(package-install-selected-packages)
|
(package-install-selected-packages)
|
||||||
(package-autoremove)
|
(package-autoremove)
|
||||||
(provide 'install)
|
(provide 'install)
|
||||||
|
|
Loading…
Reference in a new issue