From fa62f88352d5b2d20cda14ddc7834756ab3e4446 Mon Sep 17 00:00:00 2001 From: blake Date: Sat, 11 Oct 2025 11:05:20 -0500 Subject: [PATCH] 288 current 2025-10-11 10:03:00 25.05.20251006.20c4598 6.12.50 * --- modules/system/backups.nix | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/modules/system/backups.nix b/modules/system/backups.nix index eb07ec5..088f1a8 100644 --- a/modules/system/backups.nix +++ b/modules/system/backups.nix @@ -23,21 +23,21 @@ 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.null) ); -# default = {}; -# description = "backup jobs, nested attribute sets should be = paths []"; -# }; baks = lib.mkOption { - type = lib.types.attrsOf (lib.types.submodule { - options.paths = lib.mkOption { - type = lib.types.listOf lib.types.path; - description = "Paths to back up for this job."; - }; - }); + type = lib.types.attrsOf (lib.types.attrsOf (lib.types.listOf lib.types.path)); default = {}; - description = "Backup jobs (attribute set of name → { paths = [ … ]; })"; + description = "backup jobs, nested attribute sets should be = paths []"; }; +# baks = lib.mkOption { +# type = lib.types.attrsOf (lib.types.submodule { +# options.paths = lib.mkOption { +# type = lib.types.listOf lib.types.path; +# description = "Paths to back up for this job."; +# }; +# }); +# default = {}; +# description = "Backup jobs (attribute set of name → { paths = [ … ]; })"; +# }; paths = lib.mkOption { type = lib.types.list; };