diff options
Diffstat (limited to 'instance-options.nix')
-rw-r--r-- | instance-options.nix | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/instance-options.nix b/instance-options.nix index 6a1d2dc..c685693 100644 --- a/instance-options.nix +++ b/instance-options.nix @@ -57,6 +57,19 @@ in type = types.nullOr types.str; description = "The url to the default map, which will be loaded if none is given in the url. Must be a reachable url relative to the public map url defined in `maps.url`."; }; + + settings = mkOption { + default = {}; + type = types.attrsOf types.str; + description = "Settings for workadventure's frontend."; + example = { + stunServer = "stun:some.stunserver:3478"; + turnServer = "turn:some.turnserver"; + turnUser = "user"; + turnPassword = "password"; + }; + + }; urls = { api = mkOption { |