moodle-dl: clean up

This commit is contained in:
Johannes Jöns 2023-11-03 16:42:07 +01:00
parent 92e4054723
commit f587e19962

View file

@ -12,7 +12,6 @@
systemd.services."moodle-dl" = {
script = ''
${pkgs.coreutils}/bin/echo "yes" | ${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)`"