From a7d64941f48bc6b8b74dd4fbc14c9e7a6aeae2e7 Mon Sep 17 00:00:00 2001 From: h7x4 Date: Mon, 22 Sep 2025 16:44:03 +0200 Subject: [PATCH] nixos/prosody: use `types.port` --- nixos/modules/services/networking/prosody.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/modules/services/networking/prosody.nix b/nixos/modules/services/networking/prosody.nix index ce55056710e2..12879870fe39 100644 --- a/nixos/modules/services/networking/prosody.nix +++ b/nixos/modules/services/networking/prosody.nix @@ -708,7 +708,7 @@ in # HTTP server-related options httpPorts = mkOption { - type = types.listOf types.int; + type = types.listOf types.port; description = "Listening HTTP ports list for this service."; default = [ 5280 ]; }; @@ -723,7 +723,7 @@ in }; httpsPorts = mkOption { - type = types.listOf types.int; + type = types.listOf types.port; description = "Listening HTTPS ports list for this service."; default = [ 5281 ]; };