From 596d1c89742280ec9653a01c7ad0622e43e8b249 Mon Sep 17 00:00:00 2001 From: Thomas Schwanberger Date: Wed, 5 Jun 2024 23:35:56 +0200 Subject: [PATCH] Add extraPackages to readme under home-manager --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 893d7bc..f822a01 100644 --- a/README.md +++ b/README.md @@ -172,6 +172,11 @@ The home-manager module supports the same options, as well as: - `provideEmacs`: disable this to only provide a `doom-emacs` binary, not an `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