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 ]; };