summary refs log tree commit diff
path: root/nixos/modules/services/monitoring/prometheus/default.nix
diff options
context:
space:
mode:
authorKirill Elagin <kirelagin@gmail.com>2020-07-23 18:15:57 -0400
committerKirill Elagin <kirelagin@gmail.com>2020-07-23 18:15:57 -0400
commit5d2a465addfe0ecc0cee9cb6a1514c4089e5a9ae (patch)
treeeab06c161eb948a3d76c8b43f0b741d580991701 /nixos/modules/services/monitoring/prometheus/default.nix
parentba3c3de8a6b21eb2a3e2fa29e90e051faf3d643a (diff)
downloadnixpkgs-5d2a465addfe0ecc0cee9cb6a1514c4089e5a9ae.tar
nixpkgs-5d2a465addfe0ecc0cee9cb6a1514c4089e5a9ae.tar.gz
nixpkgs-5d2a465addfe0ecc0cee9cb6a1514c4089e5a9ae.tar.bz2
nixpkgs-5d2a465addfe0ecc0cee9cb6a1514c4089e5a9ae.tar.lz
nixpkgs-5d2a465addfe0ecc0cee9cb6a1514c4089e5a9ae.tar.xz
nixpkgs-5d2a465addfe0ecc0cee9cb6a1514c4089e5a9ae.tar.zst
nixpkgs-5d2a465addfe0ecc0cee9cb6a1514c4089e5a9ae.zip
prometheus: Use types.port for port
Diffstat (limited to 'nixos/modules/services/monitoring/prometheus/default.nix')
-rw-r--r--nixos/modules/services/monitoring/prometheus/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/monitoring/prometheus/default.nix b/nixos/modules/services/monitoring/prometheus/default.nix
index c64ab448e0e..cbd4cc452a7 100644
--- a/nixos/modules/services/monitoring/prometheus/default.nix
+++ b/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.