summary refs log tree commit diff stats
path: root/flake
diff options
context:
space:
mode:
authorSilas Schöffel <sils@sils.li>2024-05-06 19:22:55 +0200
committerSilas Schöffel <sils@sils.li>2024-05-06 19:22:55 +0200
commit140f5ccaf20e984e1fcc47ce9f36e27009c9bec7 (patch)
tree5b7354abaaa759a65a439709344fbe890bd48e48 /flake
parentflake.lock: update (diff)
downloadnix-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
Diffstat (limited to 'flake')
-rw-r--r--flake/nixosConfigurations/default.nix1
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;