crawler: use the tool's own flake instead of a copy of the script
All checks were successful
nixos / nixos (push) Successful in 21s

crawler-alert.py was a byte-identical copy of the one in
asxpi/traefik-crawlers-statistics. That repository now has a package and
a NixOS module with the same three units and timers; iac takes it as a
flake input and keeps only the settings. The package also puts dig on
the script's path, which the Meta ASN check needs and lacked here.

Assisted-by: Claude:opus-5-5
This commit is contained in:
Sergei Poljanski 2026-11-17 12:00:16 +04:00
commit 35bc42b01b
Signed by: asxpi
GPG key ID: 4F8851660FA4121B

22
nixos/flake.lock generated
View file

@ -23,6 +23,27 @@
"type": "github"
}
},
"crawler-alert": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1794902358,
"narHash": "sha256-VuN9qQfr2WWeRrQm6J0MF+Gpj784dJRtS27ZOPbOGCM=",
"ref": "main",
"rev": "f1bfcccb326259778ca6d03c06523c093168e40e",
"revCount": 9,
"type": "git",
"url": "https://git.asxp.io/asxpi/traefik-crawlers-statistics"
},
"original": {
"ref": "main",
"type": "git",
"url": "https://git.asxp.io/asxpi/traefik-crawlers-statistics"
}
},
"flake-compat": {
"flake": false,
"locked": {
@ -74,6 +95,7 @@
"root": {
"inputs": {
"comin": "comin",
"crawler-alert": "crawler-alert",
"nixpkgs": "nixpkgs",
"nixpkgs-unstable": "nixpkgs-unstable",
"sops-nix": "sops-nix"