fixes restic config
This commit is contained in:
parent
25baab3361
commit
4b0c763575
1 changed files with 13 additions and 11 deletions
|
|
@ -175,17 +175,19 @@
|
|||
|
||||
# Backups
|
||||
services.restic.backups = {
|
||||
initialize = true;
|
||||
passwordFile = config.age.secrets."restic/password".path;
|
||||
repository = "sftp:dnsc-storage:restic/dnsc-server";
|
||||
paths = [
|
||||
"/home/dennis/notes"
|
||||
"/main/share"
|
||||
];
|
||||
timerConfig = {
|
||||
onCalendar = "daily";
|
||||
Persistent = true;
|
||||
RandomizedDelaySec = "5h";
|
||||
"dnsc-storage" = {
|
||||
initialize = true;
|
||||
passwordFile = config.age.secrets."restic/password".path;
|
||||
repository = "sftp:dnsc-storage:restic/dnsc-server";
|
||||
paths = [
|
||||
"/home/dennis/notes"
|
||||
"/main/share"
|
||||
];
|
||||
timerConfig = {
|
||||
onCalendar = "daily";
|
||||
Persistent = true;
|
||||
RandomizedDelaySec = "5h";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue