1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-26 03:39:47 +01:00
home-manager/modules/misc
Robert Helgesson bf8a128853
home-manager: internalize uninstall
This adds a Boolean option `uninstall`. When enabled this option will
reset side-effecting configurations to their "empty" state. The intent
is that this will cause the activation script to remove all managed
files and packages.

Doing it this way should hopefully be more robust than the previous
solution. It also allows a somewhat more convenient uninstall process
when using Flakes; put `uninstall = true` in your existing
configuration and then do a switch.

Also add simple uninstall test in CI test job.
2024-04-10 21:27:09 +02:00
..
dconf.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
debug.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
editorconfig.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
fontconfig.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
gtk.nix gtk: fix GTK 4 theme being ignored 2024-04-10 21:26:56 +02:00
lib.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
news.nix xdg-portal: add new module 2024-04-10 21:27:07 +02:00
nix.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
nixpkgs-disabled.nix nixpkgs-disabled: add module 2021-10-13 23:46:38 +02:00
nixpkgs.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
numlock.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
pam.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
qt.nix qt: fix qt.platformTheme = "gtk3" 2024-04-10 21:26:41 +02:00
specialisation.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
submodule-support.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
tmpfiles.nix tmpfiles: use only xdg.configFile 2024-04-10 21:26:09 +02:00
uninstall.nix home-manager: internalize uninstall 2024-04-10 21:27:09 +02:00
version.nix home-manager: add 24.05 as valid state version 2024-04-10 21:26:44 +02:00
vte.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
xdg-desktop-entries.nix modules: types.string throws error now (#4324) 2023-08-08 17:00:24 +02:00
xdg-mime-apps.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
xdg-mime.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
xdg-portal.nix xdg-portal: add new module 2024-04-10 21:27:07 +02:00
xdg-system-dirs.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
xdg-user-dirs.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
xdg.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
xfconf.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00