From 87aae20a7db1cc640086fa5771c14fc451745df2 Mon Sep 17 00:00:00 2001 From: NullBite Date: Sun, 16 Jun 2024 01:56:48 -0400 Subject: [PATCH] home-manager: backup when using system module This prevents switching configurations from failing if there is a file in the way. --- flake.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/flake.nix b/flake.nix index 1e445b5..67f4e52 100644 --- a/flake.nix +++ b/flake.nix @@ -163,6 +163,7 @@ home-manager = { useGlobalPkgs = true; useUserPackages = true; + backupFileExtension = "hm.bak"; inherit users; extraSpecialArgs = { inherit inputs outputs vars nixpkgs home-manager;