diff --git a/modules/system/backups.nix b/modules/system/backups.nix index 2b46ff2..eca2d0e 100644 --- a/modules/system/backups.nix +++ b/modules/system/backups.nix @@ -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 = paths []"; }; diff --git a/modules/system/default.nix b/modules/system/default.nix index c34c68d..3024584 100644 --- a/modules/system/default.nix +++ b/modules/system/default.nix @@ -26,4 +26,7 @@ +# modules.system.backups.baks = { +# ${service} = { paths = [ cfg.data_dir ]; }; +# }; }