mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-11 17:39:37 +08:00
modules: add minimal entrypoint to only enable core modules
This commit is contained in:
committed by
Austin Horstman
parent
9a5042a88c
commit
44931fdc5d
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user