This commit is contained in:
commit
30ce0dafc2
195 changed files with 8902 additions and 0 deletions
22
services/coturn/options.nix
Normal file
22
services/coturn/options.nix
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
{ lib, ... }:
|
||||
with lib;
|
||||
{
|
||||
options.machine.coturn = {
|
||||
enable = mkEnableOption "Coturn";
|
||||
startPort = mkOption {
|
||||
type = types.port;
|
||||
default = 49000;
|
||||
description = "Start port for Coturn.";
|
||||
};
|
||||
endPort = mkOption {
|
||||
type = types.port;
|
||||
default = 50000;
|
||||
description = "End port for Coturn.";
|
||||
};
|
||||
realm = mkOption {
|
||||
type = types.str;
|
||||
default = "turn.example.com";
|
||||
description = "Realm for Coturn.";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue