diff --git a/options.xhtml b/options.xhtml index 65eaadfb0..e6d3b459d 100644 --- a/options.xhtml +++ b/options.xhtml @@ -69545,6 +69545,33 @@ boolean
+uninstall
+
+
+Whether to set up a minimal configuration that will remove all managed +files and packages.
Use this with extreme care since running the generated activation script +will remove all Home Manager state from your user environment. This +includes removing all your historic Home Manager generations.
+ +Type: +boolean
+ +Default:
+false
Declared by:
+
+
+<home-manager/modules/misc/uninstall.nix>
+
+ |
wayland.windowManager.hyprland.enable
diff --git a/release-notes.xhtml b/release-notes.xhtml
index e3c3de6d1..b98e2b2bb 100644
--- a/release-notes.xhtml
+++ b/release-notes.xhtml
@@ -26,8 +26,18 @@
Table of Contents
This section lists the release notes for stable versions of Home Manager and the current unstable version.
Table of Contents
This is the current unstable branch and the information in this section -is therefore not final.
This release has the following notable changes:
The .release
file in the Home Manager project root has been
-removed. Please use the release.json
file instead.
This release has the following notable changes:
The .release
file in the Home Manager project root has been
+removed. Please use the release.json
file instead.
The home-manager uninstall command has been reworked to, +hopefully, be more robust. The new implementation makes use of a new +Boolean configuration option uninstall that can +also be used in a pure Nix Flake setup.
Specifically, if you are using a Flake only installation, then you +can clean up a Home Manager installation by adding
uninstall = true;
+
to your existing configuration and then build and activate. This +will override any other configuration and cause, for example, the +removal of all managed files.
Please be very careful when enabling this option since activating +the built configuration will not only remove the managed files but +all Home Manager state from your user environment. This includes +removing all your historic Home Manager generations!