update restic
This commit is contained in:
parent
9f06dd6c2c
commit
2446716e8f
1 changed files with 4 additions and 4 deletions
|
|
@ -3,7 +3,8 @@
|
|||
lib,
|
||||
user,
|
||||
...
|
||||
}: {
|
||||
}:
|
||||
{
|
||||
options = {
|
||||
restic.enable = lib.mkEnableOption "Enables Restic";
|
||||
};
|
||||
|
|
@ -16,17 +17,16 @@
|
|||
services.restic.backups = {
|
||||
backups = {
|
||||
user = "${user}";
|
||||
repository = "/backups";
|
||||
repository = "/backups/grymforge";
|
||||
initialize = true;
|
||||
passwordFile = "${config.sops.secrets.restic_key.path}";
|
||||
paths = [
|
||||
"/home/${user}/repos"
|
||||
"/home/${user}/Documents"
|
||||
"/home/${user}/.local/share/password-store"
|
||||
"/home/${user}/.local/share/buku"
|
||||
];
|
||||
timerConfig = {
|
||||
onCalendar = "saturday 23:00";
|
||||
OnCalendar = "23:00";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue