From 5a512e653129dd919a27e72b51b959286f540c08 Mon Sep 17 00:00:00 2001 From: Nettika Date: Mon, 17 Jun 2024 10:18:17 -0700 Subject: [PATCH] Make backup directories more specific --- backup.nix | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/backup.nix b/backup.nix index f9f8af6..f584414 100644 --- a/backup.nix +++ b/backup.nix @@ -8,7 +8,16 @@ environmentFile = "/etc/restic-env"; repository = "b2:marauder-backup"; passwordFile = "/etc/restic-password"; - paths = [config.users.users.nettika.home]; + paths = [ + "${config.users.users.nettika.home}/Desktop" + "${config.users.users.nettika.home}/Documents" + "${config.users.users.nettika.home}/Music" + "${config.users.users.nettika.home}/Pictures" + "${config.users.users.nettika.home}/Projects" + "${config.users.users.nettika.home}/Public" + "${config.users.users.nettika.home}/Templates" + "${config.users.users.nettika.home}/Videos" + ]; pruneOpts = [ "--keep-daily 7" "--keep-weekly 5"