+1
-1
@@ -10,7 +10,7 @@
|
|||||||
./modules/hardware.nix
|
./modules/hardware.nix
|
||||||
./modules/services.nix
|
./modules/services.nix
|
||||||
./modules/proxy.nix
|
./modules/proxy.nix
|
||||||
# ./modules/matrix.nix
|
./modules/matrix.nix
|
||||||
./modules/fail2ban.nix
|
./modules/fail2ban.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
+10
-4
@@ -7,7 +7,7 @@ let
|
|||||||
matrixRtcDomain = "matrixrtc.atri.dad";
|
matrixRtcDomain = "matrixrtc.atri.dad";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
services.matrix-tuwunel = {
|
services.matrix-continuwuity = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
global = {
|
global = {
|
||||||
@@ -18,9 +18,11 @@ in
|
|||||||
];
|
];
|
||||||
port = [ 6167 ];
|
port = [ 6167 ];
|
||||||
max_request_size = 104857600;
|
max_request_size = 104857600;
|
||||||
allow_registration = false;
|
allow_registration = true;
|
||||||
allow_encryption = true;
|
allow_encryption = true;
|
||||||
allow_federation = true;
|
allow_federation = true;
|
||||||
|
new_user_displayname_suffix = "";
|
||||||
|
log_to_journald = true;
|
||||||
trusted_servers = [
|
trusted_servers = [
|
||||||
"matrix.org"
|
"matrix.org"
|
||||||
"chat.blahaj.zone"
|
"chat.blahaj.zone"
|
||||||
@@ -45,12 +47,16 @@ in
|
|||||||
|
|
||||||
allow_local_presence = true;
|
allow_local_presence = true;
|
||||||
allow_incoming_presence = true;
|
allow_incoming_presence = true;
|
||||||
allow_outgoing_presence = true;
|
allow_outgoing_presence = false;
|
||||||
|
allow_device_name_federation = false;
|
||||||
|
|
||||||
well_known = {
|
well_known = {
|
||||||
server = "${matrixDomain}:443";
|
server = "${matrixDomain}:443";
|
||||||
client = "https://${matrixDomain}";
|
client = "https://${matrixDomain}";
|
||||||
rtc_transports = [
|
};
|
||||||
|
|
||||||
|
matrix_rtc = {
|
||||||
|
foci = [
|
||||||
{
|
{
|
||||||
type = "livekit";
|
type = "livekit";
|
||||||
livekit_service_url = "https://${matrixDomain}/livekit/jwt";
|
livekit_service_url = "https://${matrixDomain}/livekit/jwt";
|
||||||
|
|||||||
Reference in New Issue
Block a user