diff options
author | Silas Schöffel <sils@sils.li> | 2024-05-06 19:22:55 +0200 |
---|---|---|
committer | Silas Schöffel <sils@sils.li> | 2024-05-06 19:22:55 +0200 |
commit | 140f5ccaf20e984e1fcc47ce9f36e27009c9bec7 (patch) | |
tree | 5b7354abaaa759a65a439709344fbe890bd48e48 | |
parent | flake.lock: update (diff) | |
download | nix-config-140f5ccaf20e984e1fcc47ce9f36e27009c9bec7.tar.gz nix-config-140f5ccaf20e984e1fcc47ce9f36e27009c9bec7.zip |
flake/nixosConfigurations: enable home-manger file backups by default
If there's an existing file in its way, home-manager will move it to <file-name>.backup
-rw-r--r-- | flake/nixosConfigurations/default.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/flake/nixosConfigurations/default.nix b/flake/nixosConfigurations/default.nix index 2be0ec1..b303335 100644 --- a/flake/nixosConfigurations/default.nix +++ b/flake/nixosConfigurations/default.nix @@ -25,6 +25,7 @@ agenix.nixosModules.default { home-manager = { + backupFileExtension = "backup"; useGlobalPkgs = true; useUserPackages = true; users.sils = import ../../hm; |