From 98a6f5a8faf5fb11bbe6775de925e916b454f2ba Mon Sep 17 00:00:00 2001 From: stuebinm Date: Fri, 26 Feb 2021 23:15:38 +0100 Subject: added readme --- README.md | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..4d16679 --- /dev/null +++ b/README.md @@ -0,0 +1,31 @@ +# Nix files for workadventure + +this is based on the [original packages by SuperSandro2000](https://github.com/SuperSandro2000/workadventure-nix) +and parts of [the fediventure monorepo](https://gitlab.com/fediventure/fediventure/). + +The intended usage is to import this into your config and then use it as +a normal NixOS service, i.e. like so: + +```nix +{config, pkgs, ...}: { + imports = [ "${fediventure}/workadventure.nix" ]; + + services.workadventure."localhost" = { + nginx = { + default = true; + domain = "localhost"; + }; + + frontend.startRoomUrl = "/_/global/localhost/maps/main.json"; + commonConfig = { + webrtc.stun.url = "stun:coturn.somewhere:3478"; + webrtc.turn = { + url = "turn:coturn.somewhere"; + user = "turn"; + password = "TURN_PASSWORD"; + }; + jitsi.url = "meet.somewhere.net"; + }; + }; +} +``` \ No newline at end of file -- cgit v1.2.3