mirror of
https://codeberg.org/jopejoe1/nix-conf.git
synced 2025-01-06 10:16:33 +01:00
moodle-dl: Add all visibal courses
This commit is contained in:
parent
8dbc768181
commit
72314bcefb
1 changed files with 1 additions and 0 deletions
|
@ -12,6 +12,7 @@
|
||||||
|
|
||||||
systemd.services."moodle-dl" = {
|
systemd.services."moodle-dl" = {
|
||||||
script = ''
|
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.moodle-dl} --path /var/moodle-dl
|
||||||
${lib.getExe pkgs.git} -C /var/moodle-dl add .
|
${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)`"
|
${lib.getExe pkgs.git} -C /var/moodle-dl commit -m "moodle-dl updated on `$(${pkgs.coreutils}/bin/date)`"
|
||||||
|
|
Loading…
Reference in a new issue