nixos/statsd: use types.port

This commit is contained in:
h7x4
2025-09-22 16:47:32 +02:00
parent a955f6ac31
commit a0f9e8c8b9

View File

@@ -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 {