288 current 2025-10-11 10:03:00 25.05.20251006.20c4598 6.12.50 *

This commit is contained in:
2025-10-11 10:25:39 -05:00
parent 3b4d0e3152
commit 6b01510afb

View File

@@ -1,18 +1,20 @@
{ config, lib, pkgs, ... }: { config, lib, pkgs, ... }:
# /* ''
# this module enables a backup script made with borg! this module enables a backup script made with borg!
# to use import & set the options below to use import & set the options below
# to declare a backup add the following code to declare a backup add the following code
# to a module and it will backup all listed paths to a module and it will backup all listed paths
# in a borg archive to the specified repo in a borg archive to the specified repo
#
# | <3yy> |
# V V
# modules.system.backups.baks = {
# ${service} = { paths = [ cfg.data_dir ]; };
# };
| <3yy> |
V V
modules.system.backups.baks = {
${service} = { paths = [ cfg.data_dir ]; };
};
'' */
let let
cfg = config.modules.system.backups; cfg = config.modules.system.backups;