diff --git a/modules/system/backups.nix b/modules/system/backups.nix index eca2d0e..e38443a 100644 --- a/modules/system/backups.nix +++ b/modules/system/backups.nix @@ -18,13 +18,12 @@ let cfg = config.modules.system.backups; sec = config.sops.secrets; borg = "${pkgs.borgbackup}/bin/borg"; - baks = lib.unique config.modules.system.backups.baks; 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 []"; };