1
0
mirror of https://github.com/kmein/niveum synced 2026-03-19 11:31:09 +01:00

feat(moodle-dl): dont run in container for borsfaye

This commit is contained in:
2022-01-07 16:58:38 +01:00
parent a83e903488
commit e76ed000cb

View File

@@ -5,27 +5,20 @@ let
}); });
in in
{ {
containers.moodle-dl-borsfaye = { services.moodle-dl = {
autoStart = true; enable = true;
config = { lib, pkgs, ...}: { startAt = "hourly";
imports = [ <niveum/modules/moodle-dl.nix> ]; package = moodle-dl-package;
notifyOnly = true;
services.moodle-dl = { settings = {
enable = true; telegram = {
startAt = "hourly"; token = lib.strings.fileContents <system-secrets/telegram/moodle-dl.token>;
package = moodle-dl-package; chat_id = "311425510";
notifyOnly = true; send_error_msg = false;
settings = {
telegram = {
token = lib.strings.fileContents <system-secrets/telegram/moodle-dl.token>;
chat_id = "311425510";
send_error_msg = false;
};
token = lib.strings.fileContents <system-secrets/moodle-dl/faye.token>;
moodle_domain = "moodle.hu-berlin.de";
moodle_path = "/";
};
}; };
token = lib.strings.fileContents <system-secrets/moodle-dl/faye.token>;
moodle_domain = "moodle.hu-berlin.de";
moodle_path = "/";
}; };
}; };
} }