fix(backup): instruct home-manager to backup files using a timestamp to avoid collisions

This commit is contained in:
2026-03-16 20:01:43 +01:00
parent a61b330288
commit b9450f1bca

View File

@@ -40,5 +40,5 @@
# enable home-manager globally
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.backupFileExtension = "backup";
home-manager.backupCommand = "mv -f {file} {file}.hm-bak-$(date +%Y%m%d%H%M%S)";
}