aboutsummaryrefslogtreecommitdiff
path: root/instance-options.nix
diff options
context:
space:
mode:
authorstuebinm2021-02-05 22:23:05 +0100
committerstuebinm2021-02-05 22:23:05 +0100
commit60455e908ce725174818bafde0ecd2be7a0060d1 (patch)
treeb3169c7adc95f687a7a75272694397fbba16e92d /instance-options.nix
parent86c56bb9a40425e4567c3648d427ad7e6be01a65 (diff)
nicer settting parameters; configurable stun server
Diffstat (limited to '')
-rw-r--r--instance-options.nix13
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 {