This commit is contained in:
mjallen18
2026-02-09 16:35:51 -06:00
parent 9ad06425c8
commit 1731647367
8 changed files with 151 additions and 80 deletions

View File

@@ -68,7 +68,7 @@ let
settings = {
server_name = "mjallen.dev";
public_baseurl = "https://matrix.mjallen.dev";
serve_server_wellknown = true;
serve_server_wellknown = false;
listeners = [
{
@@ -106,7 +106,7 @@ let
# Registration settings
enable_registration = false; # Set to true initially to create admin user
enable_registration_without_verification = false;
enable_registration_without_verification = lib.mkForce false;
# Media settings
max_upload_size = "50M";
@@ -119,7 +119,10 @@ let
server_name = "matrix.org";
}
];
turn_uris = ["turn:${config.services.coturn.realm}:3478?transport=udp" "turn:${config.services.coturn.realm}:3478?transport=tcp"];
turn_uris = [
"turn:${config.services.coturn.realm}:3478?transport=udp"
"turn:${config.services.coturn.realm}:3478?transport=tcp"
];
turn_shared_secret = config.services.coturn.static-auth-secret;
turn_user_lifetime = "1h";
};
@@ -144,5 +147,8 @@ let
};
in
{
imports = [ matrixConfig ];
imports = [
matrixConfig
./livekit.nix
];
}