bump workadventure version to that of hasi e.V.
Rationale: apparently this version has better support for animations and sounds (and doesn't use a broken version of phaser, unlike the current version of tcm). Note: apparently people there sometimes rebase stuff and delete the old versions of these commits / change commit hashes. If the build breaks, notify stuebinm to update the sources again ...
This commit is contained in:
parent
80710c14a3
commit
6f9aaec1fa
|
@ -20,10 +20,10 @@ let
|
|||
sha256 = "199np37dkhk52lsjw0f9x2h9vfi800s18gk5pfijs6pc1hr11scd";
|
||||
};
|
||||
# contains the workadventure module
|
||||
fediventure = pkgs.fetchgit {
|
||||
url = "https://gitlab.infra4future.de/stuebinm/fediventure-simple";
|
||||
rev = "2d1361f9e96e17f1a5b1de7cb75b45ed4dd1b177";
|
||||
sha256 = "1rfyrqwlallkxgn64cd1jwa00gyig5r5xm0irfsq10jkvfsc0v5i";
|
||||
workadventurenix = pkgs.fetchgit {
|
||||
url = "https://stuebinm.eu/git/workadventure-nix";
|
||||
rev = "5d61d1bcb2fe11a3ff469a4f3a1be1885218472d";
|
||||
sha256 = "0yd46n8vdyszb59rclq5p1m9z6hvrgpq258cic5glnqsnya8885v";
|
||||
};
|
||||
haccpkgs = (import "${haccpkgssrc}/default.nix") {inherit pkgs lib;};
|
||||
|
||||
|
@ -33,18 +33,19 @@ in
|
|||
containers.wa-void = {
|
||||
|
||||
config = {config, pkgs, ...}: {
|
||||
imports = [ "${fediventure}/workadventure.nix" ];
|
||||
imports = [ workadventurenix.outPath ];
|
||||
networking.firewall.allowedTCPPorts = [ 80 ];
|
||||
|
||||
services.workadventure."void.hacc.space" = {
|
||||
packageset = (import "${workadventurenix.outPath}/wapkgs.nix" {inherit pkgs lib;}).workadventure-hasi;
|
||||
|
||||
nginx = {
|
||||
default = true;
|
||||
inherit domain;
|
||||
};
|
||||
|
||||
frontend.startRoomUrl = "/_/global/void.hacc.space/maps/main.json";
|
||||
|
||||
|
||||
|
||||
commonConfig = {
|
||||
webrtc.stun.url = "stun:turn.hacc.space:3478";
|
||||
webrtc.turn = {
|
||||
|
|
Loading…
Reference in a new issue