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