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