home-manager: backup when using system module
This prevents switching configurations from failing if there is a file in the way.
This commit is contained in:
parent
845ec608c2
commit
87aae20a7d
@ -163,6 +163,7 @@
|
|||||||
home-manager = {
|
home-manager = {
|
||||||
useGlobalPkgs = true;
|
useGlobalPkgs = true;
|
||||||
useUserPackages = true;
|
useUserPackages = true;
|
||||||
|
backupFileExtension = "hm.bak";
|
||||||
inherit users;
|
inherit users;
|
||||||
extraSpecialArgs = {
|
extraSpecialArgs = {
|
||||||
inherit inputs outputs vars nixpkgs home-manager;
|
inherit inputs outputs vars nixpkgs home-manager;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user