bump: Update to NixOS 24.11

This commit is contained in:
Tristan Daniël Maat 2025-01-19 00:09:40 +08:00
parent 34f88ee8d5
commit b3be7bd88f
Signed by: tlater
GPG key ID: 49670FD774E43268
12 changed files with 66 additions and 243 deletions
configuration/services/metrics

View file

@ -213,7 +213,15 @@ in
let
allExporters = lib.mapAttrs (name: exporter: { inherit (exporter) listenAddress port; }) (
(lib.filterAttrs (
_: exporter: builtins.isAttrs exporter && exporter.enable
name: exporter:
# A bunch of deprecated exporters that need to be ignored
!(builtins.elem name [
"minio"
"tor"
"unifi-poller"
])
&& builtins.isAttrs exporter
&& exporter.enable
) config.services.prometheus.exporters)
// config.services.prometheus.extraExporters
);