288 current 2025-10-11 10:03:00 25.05.20251006.20c4598 6.12.50 *

This commit is contained in:
2025-10-11 10:36:01 -05:00
parent fd553ec4ca
commit 347b4e9f74
5 changed files with 19 additions and 8 deletions

View File

@@ -137,8 +137,10 @@ in
};
};
# add to backups
modules.system.backups.paths = lib.mkIf cfg.backup [ cfg.data_dir ];
# add to backups
modules.system.backups.baks = {
${service} = { paths = [ cfg.data_dir ]; };
};
};
}

View File

@@ -96,7 +96,9 @@ in
};
};
# add to backups
modules.system.backups.paths = lib.mkIf cfg.backup [ cfg.data_dir ];
# add to backups
modules.system.backups.baks = {
${service} = { paths = [ cfg.data_dir ]; };
};
};
}

View File

@@ -111,7 +111,9 @@ in
};
};
# add to backups
modules.system.backups.paths = lib.mkIf cfg.backup [ cfg.data_dir ];
# add to backups
modules.system.backups.baks = {
${service} = { paths = [ cfg.data_dir ]; };
};
};
}

View File

@@ -111,6 +111,8 @@ in
};
# add to backups
modules.system.backups.paths = lib.mkIf cfg.backup [ cfg.data_dir ];
modules.system.backups.baks = {
${service} = { paths = [ cfg.data_dir ]; };
};
};
}

View File

@@ -10,7 +10,7 @@ in a borg archive to the specified repo
| <3yy> |
V V
modules.system.backups.baks = {
{service} = { paths = [ cfg.data_dir ]; };
${service} = { paths = [ cfg.data_dir ]; };
};
*/
@@ -28,6 +28,9 @@ in
default = {};
description = "backup jobs, nested attribute sets should be <bak_name> = paths [<list_of_paths>]";
};
baks = lib.mkOption {
type = lib.types.list
};
repo = lib.mkOption {
type = lib.types.path;
default = "/holocron/borg";