From 6b01510afb1aabb69ad4d221c004687ca6e9865c Mon Sep 17 00:00:00 2001 From: blake Date: Sat, 11 Oct 2025 10:25:39 -0500 Subject: [PATCH] 288 current 2025-10-11 10:03:00 25.05.20251006.20c4598 6.12.50 * --- modules/system/backups.nix | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/modules/system/backups.nix b/modules/system/backups.nix index bf30f26..5409925 100644 --- a/modules/system/backups.nix +++ b/modules/system/backups.nix @@ -1,18 +1,20 @@ { config, lib, pkgs, ... }: -# -# this module enables a backup script made with borg! -# to use import & set the options below -# to declare a backup add the following code -# to a module and it will backup all listed paths -# in a borg archive to the specified repo -# -# | <3yy> | -# V V -# modules.system.backups.baks = { -# ${service} = { paths = [ cfg.data_dir ]; }; -# }; +/* '' +this module enables a backup script made with borg! +to use import & set the options below +to declare a backup add the following code +to a module and it will backup all listed paths +in a borg archive to the specified repo + | <3yy> | + V V + + modules.system.backups.baks = { + ${service} = { paths = [ cfg.data_dir ]; }; + }; + +'' */ let cfg = config.modules.system.backups;