From 9b1356765b6db2418c45fbfe0465f7851b51b20c Mon Sep 17 00:00:00 2001 From: Marien Zwart Date: Sun, 16 Jun 2024 22:39:16 +1000 Subject: [PATCH] Move extraPackages docs to the right section It's not home-manager-specific. --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 1c6dfe2..359de71 100644 --- a/README.md +++ b/README.md @@ -160,6 +160,11 @@ support use without flakes. - `doomSource`: Doom source tree. Defaults to a flake input: overriding that input is probably easier than passing this. +- `extraPackages`: Specify extra Emacs packages from nixpkgs to be available to + Doom Emacs. Defaults to this function `epkgs: [ ]` (no extra packages). + For example to include Emacs package `treesit-grammars.with-all-grammars`: + `extraPackages = epkgs: [ epkgs.treesit-grammars.with-all-grammars ];`. + There are a few other settings but they are not typically useful. See the source. @@ -169,11 +174,6 @@ The home-manager module supports the same options, as well as: `emacs` binary (that is: it switches from `emacsWithDoom` to `doomEmacs`). Use this if you want to install vanilla Emacs in parallel. -- `extraPackages`: Specify extra Emacs packages from nixpkgs to be available to Doom Emacs. -Defaults to this function `epkgs: [ ]` (no extra packages). -For example to include Emacs package `treesit-grammars.with-all-grammars`: -`extraPackages = epkgs: [ epkgs.treesit-grammars.with-all-grammars ];`. - ## Comparison to "normal" Doom Emacs - Unstraightened updates Doom and its dependencies along with the rest of your