summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.emacs.d/modules/thanos-packages.el29
1 files changed, 16 insertions, 13 deletions
diff --git a/.emacs.d/modules/thanos-packages.el b/.emacs.d/modules/thanos-packages.el
index 9051db4..57e6eb6 100644
--- a/.emacs.d/modules/thanos-packages.el
+++ b/.emacs.d/modules/thanos-packages.el
@@ -31,7 +31,7 @@
(require 'package)
-;; Use straight.el
+;; Install straight.el
(defvar bootstrap-version)
(let ((bootstrap-file
(expand-file-name "straight/repos/straight.el/bootstrap.el" user-emacs-directory))
@@ -50,18 +50,21 @@
(setf straight-use-package-by-default t)
(defvar thanos/packages
- '(emms vertico marginalia doom-modeline org-roam nerd-icons-completion
- consult org org-modern which-key elfeed elfeed-goodies doom-themes python-mode
- visual-fill-column rainbow-delimiters eshell-git-prompt helpful password-store
- json-mode ement magit corfu orderless consult pdf-tools markdown-mode eat
- org-auto-tangle sly eat nov eshell-syntax-highlighting emojify flycheck vterm
- (yeetube :type git :host nil :repo "https://git.thanosapollo.com/yeetube")
- telega transmission gptel nerd-icons-dired sudo-edit mu4e-alert))
-
-
-;; Install the missing packages
-(dolist (package thanos/packages)
- (straight-use-package package))
+ '(emms vertico marginalia doom-modeline org-roam nerd-icons-completion
+ consult org org-modern which-key elfeed elfeed-goodies doom-themes python-mode
+ visual-fill-column rainbow-delimiters eshell-git-prompt helpful password-store
+ json-mode ement magit corfu orderless consult pdf-tools markdown-mode eat
+ org-auto-tangle sly eat nov eshell-syntax-highlighting emojify flycheck vterm
+ telega transmission gptel nerd-icons-dired sudo-edit mu4e-alert magit-todos)
+ "Packages to install.")
+
+(defvar thanos/local-package-repos
+ '((yeetube :local-repo "~/Developer/emacs-lisp/yeetube")
+ (pcomplete-yay :local-repo "~/Developer/emacs-lisp/pcomplete-yay")))
+
+;; Get packages via straight
+(cl-loop for package in (append thanos/local-package-repos thanos/packages)
+ do (straight-use-package package))
;; Set and load custom.el
(setf custom-file (concat user-emacs-directory "custom.el"))