diff --git a/modules/system/backups.nix b/modules/system/backups.nix index 5409925..114833a 100644 --- a/modules/system/backups.nix +++ b/modules/system/backups.nix @@ -1,6 +1,6 @@ { 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 @@ -9,12 +9,10 @@ in a borg archive to the specified repo | <3yy> | V V - modules.system.backups.baks = { - ${service} = { paths = [ cfg.data_dir ]; }; + \${service} = { paths = [ cfg.data_dir ]; }; }; - -'' */ +*/ let cfg = config.modules.system.backups;