about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2023-09-21 20:34:59 +0900
committersefidel <contact@sefidel.net>2023-09-24 10:14:05 +0900
commit69b29640b82b3e9c943c9006e2d840bf8760daab (patch)
treec7faccf365362b6ebe0245e6e0b4ded0629a9421 /nixos
parentf1dd96e79e387862b9c1035912ab99d166100fff (diff)
downloadnixrc-69b29640b82b3e9c943c9006e2d840bf8760daab.tar.gz
nixrc-69b29640b82b3e9c943c9006e2d840bf8760daab.zip
feat(nixos/alpha): borgbackup: exclude unnecessary files
Diffstat (limited to 'nixos')
-rw-r--r--nixos/alpha/configuration.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/nixos/alpha/configuration.nix b/nixos/alpha/configuration.nix
index 6fac8e7..b8d9c9b 100644
--- a/nixos/alpha/configuration.nix
+++ b/nixos/alpha/configuration.nix
@@ -150,6 +150,9 @@
     ];
 
     exclude = [
+      # Ephemeral user files
+      "**/.cache"
+      "**/.nix-profile"
       # Rust build files
       "**/target"
     ];