1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-27 20:29:47 +01:00
home-manager/modules/misc
Robert Helgesson 7403ed4980
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-01-13 00:32:31 +01: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 2023-12-16 15:01:19 +01: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-01-03 20:51:54 +01: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" 2023-11-20 20:33:29 +00: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 2023-08-31 14:18:55 +02:00
uninstall.nix home-manager: internalize uninstall 2024-01-13 00:32:31 +01:00
version.nix home-manager: add 24.05 as valid state version 2023-11-27 08:46:43 +01: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-01-03 20:51:54 +01: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