fix(home-manager): allow overwriting stale SSH config backups
- Enable home-manager.overwriteBackup alongside backupFileExtension so activation no longer aborts on an occupied ~/.ssh/config.backup path. - Document why this is needed: ~/.ssh/config is kept as a user-owned regular file by the de-symlink workaround, so Home Manager must back it up on every generation change.
This commit is contained in:
1 parent
1aff05b4f2
commit
c1b44e049c
1 file changed
+3
@@ -148,6 +148,9 @@
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.backupFileExtension = "backup";
|
||||
# ~/.ssh/config is kept as a user-owned regular file (see the
|
||||
# de-symlink workaround), so HM hits an occupied .backup path.
|
||||
home-manager.overwriteBackup = true;
|
||||
home-manager.extraSpecialArgs = { inherit inputs; };
|
||||
home-manager.users.kiskaadee = {
|
||||
imports = [
|
||||
|
||||
Reference in new issue
Block a user