291 current 2025-10-11 12:01:16 25.05.20251006.20c4598 6.12.50 *

This commit is contained in:
2025-10-11 12:16:04 -05:00
parent 89c1be5186
commit d49ed2acc3
11 changed files with 46 additions and 23 deletions

View File

@@ -129,9 +129,14 @@ in
};
# add to backups
modules.system.backups.paths = lib.mkIf cfg.backup [ cfg.data_dir ];
# add to backups
modules.system.backups.baks = lib.listToAttrs (
lib.mapAttrsToList (serviceName: cfg:
{
name = ${service}; # attribute key
value = { paths = [ cfg.data_dir ]; }; # attribute value
}
) servers
);
};
}