diff --git a/modules/system/backups.nix b/modules/system/backups.nix index b916485..bf30f26 100644 --- a/modules/system/backups.nix +++ b/modules/system/backups.nix @@ -1,18 +1,18 @@ { 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 +# +# 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 ]; }; +# }; - | <3yy> | - V V - modules.system.backups.baks = { - ${service} = { paths = [ cfg.data_dir ]; }; - }; -*/ let cfg = config.modules.system.backups;