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;