From 34b86f4cb0ffff349cf11fdea06fd3974e39337d Mon Sep 17 00:00:00 2001
From: khaneliman
Date: Sun, 23 Nov 2025 03:50:56 +0000
Subject: [PATCH] deploy: 04c27d743d069cad58f9707ee8e165c471b1c7cd
---
nix-darwin-options.xhtml | 30 ++++++++++++++++++++++++++++++
nixos-options.xhtml | 30 ++++++++++++++++++++++++++++++
release-notes.xhtml | 12 +++++++++++-
3 files changed, 71 insertions(+), 1 deletion(-)
diff --git a/nix-darwin-options.xhtml b/nix-darwin-options.xhtml
index 2f7352f9b..efa630a13 100644
--- a/nix-darwin-options.xhtml
+++ b/nix-darwin-options.xhtml
@@ -130,6 +130,36 @@ attribute set
Example:
{ inherit emacs-overlay; }
+Declared by:
+
+
+
+
+ home-manager.minimal
+
+
+
+
+Whether to enable only the necessary modules that allow home-manager to function.
This can be used to allow vendoring a minimal list of modules yourself, rather than
+importing every single module.
THIS IS FOR ADVANCED USERS, AND WILL DISABLE ALMOST EVERY MODULE.
+THIS SHOULD NOT BE ENABLED UNLESS YOU KNOW THE IMPLICATIONS.
+.
+
+Type:
+boolean
+
+Default:
+false
+
+Example:
+true
+
Declared by:
|
diff --git a/nixos-options.xhtml b/nixos-options.xhtml
index 55c617be6..3928ba61c 100644
--- a/nixos-options.xhtml
+++ b/nixos-options.xhtml
@@ -130,6 +130,36 @@ attribute set
Example:
{ inherit emacs-overlay; }
+Declared by:
+
+
+
+
+ home-manager.minimal
+
+
+
+
+Whether to enable only the necessary modules that allow home-manager to function. This can be used to allow vendoring a minimal list of modules yourself, rather than
+importing every single module. THIS IS FOR ADVANCED USERS, AND WILL DISABLE ALMOST EVERY MODULE.
+THIS SHOULD NOT BE ENABLED UNLESS YOU KNOW THE IMPLICATIONS.
+.
+
+Type:
+boolean
+
+Default:
+false
+
+Example:
+true
+
Declared by:
diff --git a/release-notes.xhtml b/release-notes.xhtml
index 3e9ca746c..17c52d73b 100644
--- a/release-notes.xhtml
+++ b/release-notes.xhtml
@@ -51,7 +51,17 @@ previously created an unnecessary home-manager per-
profileā for the user. This no longer happens. You can restore the
old behavior by addinghome-manager.enableLegacyProfileManagement = true;
to your configuration. This option is likely to be deprecated in the
-future. The use of services.syncthing.tray as a Boolean option was removed
+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: 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
services.syncthing.tray.enable to enable the Syncthing tray
service.
| |