288 current 2025-10-11 10:03:00 25.05.20251006.20c4598 6.12.50 *
This commit is contained in:
@@ -24,7 +24,7 @@ in
|
||||
options.modules.system.backups = {
|
||||
enable = lib.mkEnableOption "enables backups with borg";
|
||||
baks = lib.mkOption {
|
||||
type = lib.types.attrsOf (lib.types.attrsOf (lib.types.listOf lib.types.path));
|
||||
# type = lib.types.attrsOf (lib.types.attrsOf (lib.types.listOf lib.types.path));
|
||||
default = {};
|
||||
description = "backup jobs, nested attribute sets should be <bak_name> = paths [<list_of_paths>]";
|
||||
};
|
||||
|
||||
@@ -26,4 +26,7 @@
|
||||
|
||||
|
||||
|
||||
# modules.system.backups.baks = {
|
||||
# ${service} = { paths = [ cfg.data_dir ]; };
|
||||
# };
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user