mirror of
https://github.com/kmein/niveum
synced 2026-03-16 10:11:08 +01:00
feat(urlwatch): move to makanek, watch dlf
This commit is contained in:
@@ -10,10 +10,26 @@ let
|
||||
{
|
||||
name = "Corona-Verordnung";
|
||||
url = "https://www.berlin.de/corona/massnahmen/verordnung/";
|
||||
filter = [
|
||||
{
|
||||
css = "[role=main]";
|
||||
}
|
||||
"html2text"
|
||||
"strip"
|
||||
];
|
||||
}
|
||||
{
|
||||
name = "Christian-Metz-Blamage";
|
||||
url = "https://www.deutschlandfunk.de/meine-nacht-schlaeft-nicht-pflanze-mich-nicht-in-dein-herz.700.de.html?dram:article_id=486475";
|
||||
filter = [
|
||||
{
|
||||
element-by-id = "content";
|
||||
}
|
||||
];
|
||||
}
|
||||
];
|
||||
|
||||
configFile = pkgs.writeJSON "urlwatch.yaml" {
|
||||
configFile = pkgs.writeText "urlwatch.yaml" (builtins.toJSON {
|
||||
display = {
|
||||
error = true;
|
||||
new = true;
|
||||
@@ -40,18 +56,18 @@ let
|
||||
color = true;
|
||||
enabled = true;
|
||||
};
|
||||
telegram = {
|
||||
enabled = false;
|
||||
bot_token = lib.strings.fileContents <system-secrets/telegram/kmein.token>;
|
||||
chat_id = [ "18980945" ];
|
||||
};
|
||||
# telegram = {
|
||||
# enabled = false;
|
||||
# bot_token = lib.strings.fileContents <system-secrets/telegram/kmein.token>;
|
||||
# chat_id = [ "18980945" ];
|
||||
# };
|
||||
# text = {
|
||||
# details = true;
|
||||
# footer = true;
|
||||
# line_length = 75;
|
||||
# };
|
||||
};
|
||||
};
|
||||
});
|
||||
in
|
||||
{
|
||||
users.extraUsers.urlwatch = {
|
||||
|
||||
@@ -11,6 +11,7 @@ in
|
||||
<niveum/configs/nextcloud.nix>
|
||||
<niveum/configs/save-space.nix>
|
||||
<niveum/configs/version.nix>
|
||||
<niveum/configs/urlwatch.nix>
|
||||
<niveum/configs/gitea.nix>
|
||||
<niveum/modules/retiolum.nix>
|
||||
];
|
||||
|
||||
@@ -16,7 +16,6 @@ in {
|
||||
<niveum/configs/version.nix>
|
||||
<niveum/configs/traadfri.nix>
|
||||
<niveum/configs/matterbridge.nix>
|
||||
<niveum/configs/urlwatch.nix>
|
||||
<niveum/modules/retiolum.nix>
|
||||
<niveum/modules/telegram-bot.nix>
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user