nixos/livekit: use types.port

This commit is contained in:
h7x4 2025-09-22 16:26:37 +02:00
commit 71fb838c2f
No known key found for this signature in database
GPG key ID: 9F2F7D8250F35146

View file

@ -85,13 +85,13 @@ in
rtc = {
port_range_start = lib.mkOption {
type = lib.types.int;
type = lib.types.port;
default = 50000;
description = "Start of UDP port range for WebRTC";
};
port_range_end = lib.mkOption {
type = lib.types.int;
type = lib.types.port;
default = 51000;
description = "End of UDP port range for WebRTC";
};