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; }; }; };