update restic

This commit is contained in:
gwg313 2025-03-22 17:00:50 -04:00
parent 9f06dd6c2c
commit 2446716e8f
Signed by untrusted user who does not match committer: gwg313
GPG key ID: 60FF63B4826B7400

View file

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