nixos: crawler report as native units

Same script, schedule and threshold. It now mails through SMTP with the
alert account from sops instead of reading Forgejo's app.ini out of its
container, and reads Traefik's log at its new place. Forgejo's router
is forgejo@file now.

Tried on the rehearsal pair against generated GPTBot traffic.

Assisted-by: Claude:opus-5-5
This commit is contained in:
Sergei Poljanski 2026-11-17 04:51:37 +04:00
commit 2a0e7bd83a
Signed by: asxpi
GPG key ID: 4F8851660FA4121B

View file

@ -31,6 +31,8 @@
# No alert mail from a test pair
asxpio.alertEmail = "nobody@example.invalid";
services.grafana.settings.smtp.enabled = lib.mkForce false;
systemd.timers.crawler-alert.enable = false;
systemd.timers.crawler-weekly.enable = false;
services.loki.configuration = {
# No Object Storage keys here: everything on local disk
schema_config.configs = lib.mkForce [