nixos/prosody: use types.port

This commit is contained in:
h7x4
2025-09-22 16:46:44 +02:00
parent 2fb06be29f
commit a7d64941f4
@@ -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 ];
};