From b6d0fa4ed99efc7a683565f11ee133e6849e91bf Mon Sep 17 00:00:00 2001 From: h7x4 Date: Mon, 22 Sep 2025 15:41:58 +0200 Subject: [PATCH] nixos/elasticsearch: use `types.port` --- nixos/modules/services/search/elasticsearch.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {