Compare commits
2 commits
e11258b355
...
00c7c1157c
Author | SHA1 | Date | |
---|---|---|---|
00c7c1157c | |||
7da4091344 |
2 changed files with 18 additions and 0 deletions
16
hosts/yuki/services/conduit.nix
Normal file
16
hosts/yuki/services/conduit.nix
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
_: {
|
||||||
|
networking.firewall.allowedTCPPorts = [6167 8448];
|
||||||
|
services.matrix-conduit = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
global = {
|
||||||
|
address = "0.0.0.0";
|
||||||
|
server_name = "forsen";
|
||||||
|
allow_registration = true;
|
||||||
|
allow_federation = true;
|
||||||
|
allow_encryption = true;
|
||||||
|
trusted_servers = ["matrix.org"];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
|
@ -15,6 +15,8 @@ _: {
|
||||||
NEKO_BIND = "0.0.0.0:8080";
|
NEKO_BIND = "0.0.0.0:8080";
|
||||||
NEKO_CONTROL_PROTECTION = "true";
|
NEKO_CONTROL_PROTECTION = "true";
|
||||||
NEKO_VIDEO_CODEC = "h264";
|
NEKO_VIDEO_CODEC = "h264";
|
||||||
|
NEKO_ICELITE = "true";
|
||||||
|
NEKO_ICESERVER = "stun:stun.l.google.com:19302";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue