diff options
Diffstat (limited to '.emacs.d/modules/thanos-packages.el')
-rw-r--r-- | .emacs.d/modules/thanos-packages.el | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/.emacs.d/modules/thanos-packages.el b/.emacs.d/modules/thanos-packages.el new file mode 100644 index 0000000..9497b77 --- /dev/null +++ b/.emacs.d/modules/thanos-packages.el @@ -0,0 +1,64 @@ +;;; thanos-packages.el --- -*- lexical-binding: t; -*- + +;; Copyright (C) 2023 Thanos Apollo + +;; Author: Thanos Apollo <[email protected]> +;; Keywords: + +;; This program is free software; you can redistribute it and/or modify +;; it under the terms of the GNU General Public License as published by +;; the Free Software Foundation, either version 3 of the License, or +;; (at your option) any later version. + +;; This program is distributed in the hope that it will be useful, +;; but WITHOUT ANY WARRANTY; without even the implied warranty of +;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;; GNU General Public License for more details. + +;; You should have received a copy of the GNU General Public License +;; along with this program. If not, see <https://www.gnu.org/licenses/>. + +;;; Commentary: + +;; + +;;; Code: + +(require 'package) + +(defvar thanos/packages + '(emms tree-sitter org-snooze org-drill + all-the-icons all-the-icons-dired + all-the-icons-ivy-rich toc-org emojify + doom-themes doom-modeline gruvbox-theme counsel + vterm multi-vterm which-key ivy ivy-rich helpful + password-store org org-modern org-roam + visual-fill-column rainbow-delimiters flycheck + lsp-mode lsp-ui json-mode rjsx-mode + typescript-mode python-mode pyvenv company + company-box magit elfeed elfeed-goodies paredit + corfu monkeytype sudo-edit consult alsamixer + simple-httpd eshell-syntax-highlighting + org-superstar pdf-tools org-auto-tangle sly + org-download eshell-git-prompt eshell-vterm + hackernews circe gptel beacon ement mu4e-alert + pass eat nov yeetube stumpwm-mode telega + transmission monokai-theme)) + +(setf package-archives '(("melpa" . "https://melpa.org/packages/") + ("elpa" . "https://elpa.gnu.org/packages/") + ("nongnu" . "https://elpa.nongnu.org/nongnu/"))) +;; Activate all the packages +(package-initialize) +;; Install the missing packages +(dolist (package thanos/packages) + (unless (package-installed-p package) + (package-install package))) + +;; Set and load custom.el +(setf custom-file (concat user-emacs-directory "custom.el")) +(load custom-file 'noerror) + + +(provide 'thanos-packages) +;;; thanos-packages.el ends here |