0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-14 06:00:33 +03:00

nixos/prometheus: add missing dns_sd_configs types

From
https://prometheus.io/docs/prometheus/latest/configuration/configuration/#dns_sd_config:

> The type of DNS query to perform. One of SRV, A, AAAA, MX or NS.

I also simplified the doc string as it's redundant with the generated
docs.
This commit is contained in:
Jeremy Fleischman 2025-02-16 23:42:15 +07:00
parent d6c5b1e1d4
commit c263be1dee
No known key found for this signature in database

View file

@ -718,8 +718,8 @@ let
'';
};
type = mkDefOpt (types.enum [ "SRV" "A" "AAAA" ]) "SRV" ''
The type of DNS query to perform. One of SRV, A, or AAAA.
type = mkDefOpt (types.enum [ "SRV" "A" "AAAA" "MX" "NS" ]) "SRV" ''
The type of DNS query to perform.
'';
port = mkOpt types.port ''