290 current 2025-10-11 11:39:41 25.05.20251006.20c4598 6.12.50 *

This commit is contained in:
2025-10-11 11:47:35 -05:00
parent 7f56e043e7
commit 2031aa443f

View File

@@ -83,12 +83,12 @@ in
"$BORG_REPO::$archive" \
${lib.concatStringsSep " " bak_paths.paths}
else
# flatten all paths from cfg.baks into one big list
all_paths="${
lib.concatStringsSep " "
(lib.flatten
(lib.mapAttrsToList (_: bak: bak.paths) cfg.baks))
}"
## flatten all paths from cfg.baks into one big list
# all_paths="${
# lib.concatStringsSep " "
# (lib.flatten
# (lib.mapAttrsToList (_: bak: bak.paths) cfg.baks))
# }"
archive="$timestamp-${toString config.networking.hostName}"
borg create \
--verbose \