diff --git a/modules/services/moodle-dl/default.nix b/modules/services/moodle-dl/default.nix index a6c3e15..769fb5c 100644 --- a/modules/services/moodle-dl/default.nix +++ b/modules/services/moodle-dl/default.nix @@ -12,6 +12,7 @@ systemd.services."moodle-dl" = { script = '' + ${lib.getExe pkgs.moodle-dl} --path /var/moodle-dl --add-all-visible-courses ${lib.getExe pkgs.moodle-dl} --path /var/moodle-dl ${lib.getExe pkgs.git} -C /var/moodle-dl add . ${lib.getExe pkgs.git} -C /var/moodle-dl commit -m "moodle-dl updated on `$(${pkgs.coreutils}/bin/date)`"