From bcd9ad196ce1778a001a0b5565d4a104cb5291e9 Mon Sep 17 00:00:00 2001 From: jopejoe1 Date: Fri, 3 Nov 2023 16:36:09 +0100 Subject: [PATCH] moodle-dl: don't add all visible courses ins interactive --- modules/services/moodle-dl/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/services/moodle-dl/default.nix b/modules/services/moodle-dl/default.nix index 769fb5c..4f9fcd2 100644 --- a/modules/services/moodle-dl/default.nix +++ b/modules/services/moodle-dl/default.nix @@ -12,7 +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 --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)`"