modules: add minimal entrypoint to only enable core modules

This commit is contained in:
Eman Resu
2025-11-19 00:10:41 -05:00
committed by Austin Horstman
parent 9a5042a88c
commit 44931fdc5d
5 changed files with 145 additions and 72 deletions

View File

@@ -48,6 +48,24 @@ This release has the following notable changes:
to your configuration. This option is likely to be deprecated in the
future.
- By default, Home Manager imports all modules, which leads to
increased evaluation time. Some users may wish to only import the
modules they actually use. To accomodate this, a new option
`home-manager.minimal` has been added. When this option is enabled,
Home Manager will only import the basic set of modules it requires
to function. Other modules will have to be enabled manually, like
this:
```nix
imports = [
"${modulesPath}/programs/fzf.nix"
];
```
This entrypoint is only recommended for advanced users, who are
comfortable maintaining a personal list of modules to import.
- The use of `services.syncthing.tray` as a Boolean option was removed
after being deprecated in 2021. You are now expected to use
[](#opt-services.syncthing.tray.enable) to enable the Syncthing tray