From 553e691a8b8cdd76c0f4a34e2aebb5f832f49958 Mon Sep 17 00:00:00 2001 From: John Lancaster <32917998+jsl12@users.noreply.github.com> Date: Fri, 1 Aug 2025 22:58:52 -0500 Subject: [PATCH] adjusted restic options --- homeManagerModules/restic/profiles/base.nix | 10 +++++++++- homeManagerModules/restic/resticprofile.nix | 1 + 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/homeManagerModules/restic/profiles/base.nix b/homeManagerModules/restic/profiles/base.nix index 528e3f5..1300753 100644 --- a/homeManagerModules/restic/profiles/base.nix +++ b/homeManagerModules/restic/profiles/base.nix @@ -14,10 +14,11 @@ backup = { verbose = true; exclude = [ - ".vscode-server" + ".vscode*" ".cache" ".venv" ".pyenv" + ".devenv" "data/postgres" "build" "__pycache__" @@ -25,6 +26,13 @@ "*.egg-info" "*.csv" "*.m4a" + + ".local/share/Steam" + ".local/share/Trash" + "build" + "dist" + "/home/*/Pictures" + "/home/*/Videos" ]; schedule-permission = "user"; schedule-priority = "background"; diff --git a/homeManagerModules/restic/resticprofile.nix b/homeManagerModules/restic/resticprofile.nix index 88b5243..b33f3ab 100644 --- a/homeManagerModules/restic/resticprofile.nix +++ b/homeManagerModules/restic/resticprofile.nix @@ -33,6 +33,7 @@ in { keep-daily = 7; keep-weekly = 4; keep-monthly = 6; + keep-yearly = 2; }; }; };