285 current 2025-10-11 08:57:30 25.05.20251006.20c4598 6.12.50 *
This commit is contained in:
@@ -5,7 +5,6 @@ let
|
|||||||
borg = "${pkgs.borgbackup}/bin/borg";
|
borg = "${pkgs.borgbackup}/bin/borg";
|
||||||
backup_paths = lib.unique config.modules.system.backups.paths;
|
backup_paths = lib.unique config.modules.system.backups.paths;
|
||||||
passwd_file = config.sops.secrets."borg_passwd".path;
|
passwd_file = config.sops.secrets."borg_passwd".path;
|
||||||
jobs = config.modules.system.backups.jobs;
|
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.modules.system.backups = {
|
options.modules.system.backups = {
|
||||||
@@ -89,7 +88,7 @@ in
|
|||||||
--keep-weekly=52 \
|
--keep-weekly=52 \
|
||||||
--keep-monthly=-1
|
--keep-monthly=-1
|
||||||
''
|
''
|
||||||
) jobs)}
|
) cfg.jobs)}
|
||||||
|
|
||||||
echo "finshed backup at \"$BORG_REPO::$archive\"
|
echo "finshed backup at \"$BORG_REPO::$archive\"
|
||||||
'';
|
'';
|
||||||
|
|||||||
Reference in New Issue
Block a user