Add extraPackages to readme under home-manager

This commit is contained in:
Thomas Schwanberger 2024-06-05 23:35:56 +02:00
parent 4df8b7be15
commit 596d1c8974

View file

@ -173,6 +173,11 @@ 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