From aec5889fb6261417df0a45b8b3d3cdb982b4ebda Mon Sep 17 00:00:00 2001 From: Joachim Nielandt Date: Fri, 21 Jan 2022 15:24:22 +0100 Subject: [PATCH] Added doom config. --- dot_doom.d/config.el | 3 +- dot_doom.d/packages.el | 55 +++++++++++++++++++ ...executable_install.chezmoi.dependencies.sh | 6 ++ 3 files changed, 63 insertions(+), 1 deletion(-) create mode 100644 dot_doom.d/packages.el diff --git a/dot_doom.d/config.el b/dot_doom.d/config.el index 5e87e2e..2d25847 100644 --- a/dot_doom.d/config.el +++ b/dot_doom.d/config.el @@ -25,7 +25,8 @@ ;; There are two ways to load a theme. Both assume the theme is installed and ;; available. You can either set `doom-theme' or manually load a theme with the ;; `load-theme' function. This is the default: -(setq doom-theme 'doom-one) +;; (setq doom-theme 'doom-one) +(setq doom-theme 'doom-gruvbox) ;; If you use `org' and don't want your org files in the default location below, ;; change `org-directory'. It must be set before org loads! diff --git a/dot_doom.d/packages.el b/dot_doom.d/packages.el new file mode 100644 index 0000000..bbc340a --- /dev/null +++ b/dot_doom.d/packages.el @@ -0,0 +1,55 @@ +;; -*- no-byte-compile: t; -*- +;;; $DOOMDIR/packages.el + +;; To install a package with Doom you must declare them here and run 'doom sync' +;; on the command line, then restart Emacs for the changes to take effect -- or +;; use 'M-x doom/reload'. + + +;; To install SOME-PACKAGE from MELPA, ELPA or emacsmirror: +;(package! some-package) + +;; To install a package directly from a remote git repo, you must specify a +;; `:recipe'. You'll find documentation on what `:recipe' accepts here: +;; https://github.com/raxod502/straight.el#the-recipe-format +;(package! another-package +; :recipe (:host github :repo "username/repo")) + +;; If the package you are trying to install does not contain a PACKAGENAME.el +;; file, or is located in a subdirectory of the repo, you'll need to specify +;; `:files' in the `:recipe': +;(package! this-package +; :recipe (:host github :repo "username/repo" +; :files ("some-file.el" "src/lisp/*.el"))) + +;; If you'd like to disable a package included with Doom, you can do so here +;; with the `:disable' property: +;(package! builtin-package :disable t) + +;; You can override the recipe of a built in package without having to specify +;; all the properties for `:recipe'. These will inherit the rest of its recipe +;; from Doom or MELPA/ELPA/Emacsmirror: +;(package! builtin-package :recipe (:nonrecursive t)) +;(package! builtin-package-2 :recipe (:repo "myfork/package")) + +;; Specify a `:branch' to install a package from a particular branch or tag. +;; This is required for some packages whose default branch isn't 'master' (which +;; our package manager can't deal with; see raxod502/straight.el#279) +;(package! builtin-package :recipe (:branch "develop")) + +;; Use `:pin' to specify a particular commit to install. +;(package! builtin-package :pin "1a2b3c4d5e") + + +;; Doom's packages are pinned to a specific commit and updated from release to +;; release. The `unpin!' macro allows you to unpin single packages... +;(unpin! pinned-package) +;; ...or multiple packages +;(unpin! pinned-package another-pinned-package) +;; ...Or *all* packages (NOT RECOMMENDED; will likely break things) +;(unpin! t) + +; install clojure and cider +(package! cider) +; rectify some lacking bindings for evil mode +; (package! evil-collection) diff --git a/dot_dotfiles/scripts/executable_install.chezmoi.dependencies.sh b/dot_dotfiles/scripts/executable_install.chezmoi.dependencies.sh index 92aba8d..900e50b 100644 --- a/dot_dotfiles/scripts/executable_install.chezmoi.dependencies.sh +++ b/dot_dotfiles/scripts/executable_install.chezmoi.dependencies.sh @@ -9,3 +9,9 @@ sudo pacman -Sy \ xsel \ xclip +# these are doom (emacs) dependencies +sudo pacman -Sy \ + shellcheck \ + fd \ + pandoc +