Add automatic backup configuration for home-manager
- Set home-manager.backupFileExtension to 'backup' - Automatically backs up files before home-manager overwrites them - Prevents data loss when managing Firefox profiles.ini
This commit is contained in:
parent
9b6d5e51dc
commit
a8f2a59db5
1 changed files with 2 additions and 0 deletions
|
|
@ -66,6 +66,8 @@
|
||||||
({ lib, ... }: {
|
({ lib, ... }: {
|
||||||
home-manager.useGlobalPkgs = true;
|
home-manager.useGlobalPkgs = true;
|
||||||
home-manager.useUserPackages = true;
|
home-manager.useUserPackages = true;
|
||||||
|
# Automatically backup files before home-manager overwrites them
|
||||||
|
home-manager.backupFileExtension = "backup";
|
||||||
home-manager.users.danny = { ... }: {
|
home-manager.users.danny = { ... }: {
|
||||||
|
|
||||||
# Force an absolute path even if another module sets a bad value.
|
# Force an absolute path even if another module sets a bad value.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue