diff --git a/nixos/modules/services/search/elasticsearch.nix b/nixos/modules/services/search/elasticsearch.nix index c7f21236e0fd..7813f154ecd6 100644 --- a/nixos/modules/services/search/elasticsearch.nix +++ b/nixos/modules/services/search/elasticsearch.nix @@ -72,7 +72,7 @@ in tcp_port = mkOption { description = "Elasticsearch port for the node to node communication."; default = 9300; - type = types.int; + type = types.port; }; cluster_name = mkOption {