prometheus: Use types.port for port

wip/yesman
Kirill Elagin 4 years ago
parent ba3c3de8a6
commit 5d2a465add
  1. 2
      nixos/modules/services/monitoring/prometheus/default.nix

@ -490,7 +490,7 @@ in {
};
port = mkOption {
type = types.int;
type = types.port;
default = 9090;
description = ''
Port to listen on.

Loading…
Cancel
Save