diff --git a/homeManagerModules/restic/profiles/base.nix b/homeManagerModules/restic/profiles/base.nix index 6087fd7..7a95998 100644 --- a/homeManagerModules/restic/profiles/base.nix +++ b/homeManagerModules/restic/profiles/base.nix @@ -2,7 +2,7 @@ { base = { repository = "local:/mnt/backup"; - passwordFile = "${config.xdg.configHome}/resticprofile/password.txt"; + password-file = "${config.xdg.configHome}/resticprofile/password.txt"; status-file = "{{ .ConfigDir }}/backup-status.json"; retention = { after-backup = true; @@ -13,7 +13,19 @@ }; backup = { verbose = true; - # exclude-file = "{{ .ConfigDir }}/profiles/excludes"; + exclude = [ + ".vscode-server" + ".cache" + ".venv" + ".pyenv" + "data/postgres" + "build" + "__pycache__" + "*.log" + "*.egg-info" + "*.csv" + "*.m4a" + ]; schedule-permission = "system"; schedule-priority = "background"; check-after = true;