nixos/livekit: use types.port

This commit is contained in:
h7x4
2025-09-22 16:26:37 +02:00
parent 5883645672
commit 71fb838c2f

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