mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-11-16 13:00:45 -06:00
24 lines
561 B
Nix
24 lines
561 B
Nix
{...}: {
|
|
services.restic.backups.gdrive = {
|
|
extraBackupArgs = [
|
|
"--exclude-file /home/daylin/.config/restic/excludes.txt"
|
|
"--exclude-file /home/daylin/.conda/environments.txt"
|
|
"--verbose"
|
|
"--one-file-system"
|
|
"--tag systemd.timer"
|
|
];
|
|
pruneOpts = [
|
|
"--verbose"
|
|
"--tag systemd.timer"
|
|
"--keep-daily 7"
|
|
"--keep-weekly 4"
|
|
"--keep-monthly 12"
|
|
"--keep-yearly 3"
|
|
];
|
|
timerConfig = {
|
|
OnCalendar = "00:05";
|
|
Persistent = true;
|
|
RandomizedDelaySec = "5h";
|
|
};
|
|
};
|
|
}
|