sops key working

This commit is contained in:
John Lancaster
2025-07-28 19:20:40 -05:00
parent 29a1ee26cf
commit e31c9b911d
3 changed files with 15 additions and 18 deletions

View File

@@ -0,0 +1,26 @@
{ lib, config, ... }:
{
base = {
repository = "local:/mnt/backup";
passwordFile = "${config.xdg.configHome}/resticprofile/password.txt";
status-file = "{{ .ConfigDir }}/backup-status.json";
retention = {
after-backup = true;
keep-last = "10";
keep-hourly = "8";
keep-daily = "14";
keep-weekly = "8";
};
backup = {
verbose = true;
# exclude-file = "{{ .ConfigDir }}/profiles/excludes";
schedule-permission = "system";
schedule-priority = "background";
check-after = true;
};
prune = {
schedule-permission = "user";
schedule-lock-wait = "1h";
};
};
}