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

chore(moodle-dl): update module

This commit is contained in:
2021-04-03 15:01:45 +02:00
parent 121d5e242f
commit 834e5d9ef3

View File

@@ -3,11 +3,11 @@ let
nixpkgs-kmein = builtins.fetchGit { nixpkgs-kmein = builtins.fetchGit {
url = "https://github.com/kmein/nixpkgs"; url = "https://github.com/kmein/nixpkgs";
ref = "refs/heads/feature/moodle-dl-module"; ref = "refs/heads/feature/moodle-dl-module";
rev = "98ec084fe4dd9608769d592318d211dff3d32d86"; rev = "11e035b133ea9fbf07bc1b6185990b095358ab4f";
}; };
moodle-dl-package = (import nixpkgs-kmein {}).moodle-dl.overrideAttrs (old: old // { moodle-dl-package = (import nixpkgs-kmein {}).moodle-dl.overrideAttrs (old: old // {
patches = old.patches ++ [ <niveum/packages/moodle-dl/telegram-format.patch> ]; patches = [ <niveum/packages/moodle-dl/telegram-format.patch> ];
}); });
in in
{ {
@@ -17,7 +17,7 @@ in
enable = true; enable = true;
startAt = "hourly"; startAt = "hourly";
package = moodle-dl-package; package = moodle-dl-package;
config = { settings = {
telegram = { telegram = {
token = lib.strings.fileContents <system-secrets/telegram/moodle-dl.token>; token = lib.strings.fileContents <system-secrets/telegram/moodle-dl.token>;
chat_id = "18980945"; chat_id = "18980945";