hm: make it backup conflicting files

This commit is contained in:
2025-12-06 11:24:08 +01:00
parent fe3cd057cd
commit fcfc9f6450

View File

@@ -41,8 +41,9 @@
"8.8.8.8" "8.8.8.8"
]; ];
# HM # HM module
home-manager.useGlobalPkgs = true; home-manager.useGlobalPkgs = true; # hm module uses the pkgs of the nixos config
home-manager.backupFileExtension = "hm-backup"; # backup conflicting files. So hm activation never fails
home-manager.extraSpecialArgs = { home-manager.extraSpecialArgs = {
inherit inputs outputs; inherit inputs outputs;
}; };