nixos/prometheus-snmp-exporter: fix undefined logPrefix

When I added `coerceConfigFile` based on the blackbox exporter module, I
did not notice the missing attribute definition.
This commit is contained in:
WilliButz 2024-01-27 20:45:03 +01:00
parent 4f34f35eae
commit 3a00809390
No known key found for this signature in database
GPG Key ID: 0EFE04FB95E18413

View File

@ -3,6 +3,7 @@
with lib;
let
logPrefix = "services.prometheus.exporters.snmp";
cfg = config.services.prometheus.exporters.snmp;
# This ensures that we can deal with string paths, path types and