Skip to content

Commit 9486edb

Browse files
authored
nixos/prometheus: add missing dns_sd_configs types (#382617)
2 parents d564d45 + c263be1 commit 9486edb

File tree

1 file changed

+2
-2
lines changed
  • nixos/modules/services/monitoring/prometheus

1 file changed

+2
-2
lines changed

nixos/modules/services/monitoring/prometheus/default.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -718,8 +718,8 @@ let
718718
'';
719719
};
720720

721-
type = mkDefOpt (types.enum [ "SRV" "A" "AAAA" ]) "SRV" ''
722-
The type of DNS query to perform. One of SRV, A, or AAAA.
721+
type = mkDefOpt (types.enum [ "SRV" "A" "AAAA" "MX" "NS" ]) "SRV" ''
722+
The type of DNS query to perform.
723723
'';
724724

725725
port = mkOpt types.port ''

0 commit comments

Comments
 (0)