From a0f9e8c8b935b7e5d01dd943e1d845b24374e828 Mon Sep 17 00:00:00 2001 From: h7x4 Date: Mon, 22 Sep 2025 16:47:32 +0200 Subject: [PATCH] nixos/statsd: use `types.port` --- nixos/modules/services/monitoring/statsd.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/monitoring/statsd.nix b/nixos/modules/services/monitoring/statsd.nix index 5eb0517d4fc5..48bb0f0e93f3 100644 --- a/nixos/modules/services/monitoring/statsd.nix +++ b/nixos/modules/services/monitoring/statsd.nix @@ -110,7 +110,7 @@ in graphitePort = lib.mkOption { description = "Port of Graphite server (i.e. carbon-cache)."; default = null; - type = lib.types.nullOr lib.types.int; + type = lib.types.nullOr lib.types.port; }; extraConfig = lib.mkOption {