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,
|
lib,
|
||||||
user,
|
user,
|
||||||
...
|
...
|
||||||
}: {
|
}:
|
||||||
|
{
|
||||||
options = {
|
options = {
|
||||||
restic.enable = lib.mkEnableOption "Enables Restic";
|
restic.enable = lib.mkEnableOption "Enables Restic";
|
||||||
};
|
};
|
||||||
|
|
@ -16,17 +17,16 @@
|
||||||
services.restic.backups = {
|
services.restic.backups = {
|
||||||
backups = {
|
backups = {
|
||||||
user = "${user}";
|
user = "${user}";
|
||||||
repository = "/backups";
|
repository = "/backups/grymforge";
|
||||||
initialize = true;
|
initialize = true;
|
||||||
passwordFile = "${config.sops.secrets.restic_key.path}";
|
passwordFile = "${config.sops.secrets.restic_key.path}";
|
||||||
paths = [
|
paths = [
|
||||||
"/home/${user}/repos"
|
"/home/${user}/repos"
|
||||||
"/home/${user}/Documents"
|
"/home/${user}/Documents"
|
||||||
"/home/${user}/.local/share/password-store"
|
"/home/${user}/.local/share/password-store"
|
||||||
"/home/${user}/.local/share/buku"
|
|
||||||
];
|
];
|
||||||
timerConfig = {
|
timerConfig = {
|
||||||
onCalendar = "saturday 23:00";
|
OnCalendar = "23:00";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue