Added Octoprint; Minor config changes;
This commit is contained in:
@@ -126,7 +126,7 @@ let
|
||||
preferred_domain = "jitsi.cyperpunk.de";
|
||||
};
|
||||
element_call = {
|
||||
url = "https://call.element.io";
|
||||
url = "https://element.cyperpunk.de/widgets/element-call";
|
||||
use_exclusively = true;
|
||||
participant_limit = 8;
|
||||
brand = "Cyperpunk Call";
|
||||
@@ -140,6 +140,7 @@ let
|
||||
};
|
||||
features = {
|
||||
feature_group_calls = true;
|
||||
"feature_disable_call_per_sender_encryption" = true;
|
||||
};
|
||||
}
|
||||
);
|
||||
@@ -148,10 +149,27 @@ let
|
||||
cp ${elementConfig} $out/config.json
|
||||
'';
|
||||
});
|
||||
synapseAdmin = pkgs.synapse-admin-etkecc.withConfig {
|
||||
synapseAdmin = pkgs.ketesa.withConfig {
|
||||
restrictBaseUrl = [ "https://matrix.cyperpunk.de" ];
|
||||
loginFlows = [ "password" ];
|
||||
};
|
||||
elementCallConfigured = pkgs.element-call.overrideAttrs (old: {
|
||||
postInstall = (old.postInstall or "") + ''
|
||||
cp ${
|
||||
builtins.toFile "element-call-config.json" (
|
||||
builtins.toJSON {
|
||||
default_server_config = {
|
||||
"m.homeserver" = {
|
||||
base_url = "https://matrix.cyperpunk.de";
|
||||
server_name = "cyperpunk.de";
|
||||
};
|
||||
};
|
||||
livekit_service_url = "https://cyperpunk.de/livekit/jwt/";
|
||||
}
|
||||
)
|
||||
} $out/config.json
|
||||
'';
|
||||
});
|
||||
in
|
||||
{
|
||||
|
||||
@@ -160,6 +178,7 @@ in
|
||||
8010 # Element
|
||||
8011 # Synapse Admin
|
||||
8012 # FluffyChat
|
||||
8013 # Element Call
|
||||
];
|
||||
|
||||
services.nginx.virtualHosts = {
|
||||
@@ -201,6 +220,15 @@ in
|
||||
];
|
||||
root = "${synapseAdmin}";
|
||||
};
|
||||
"element-call.cyperpunk.de" = {
|
||||
listen = [
|
||||
{
|
||||
addr = "0.0.0.0";
|
||||
port = 8013;
|
||||
}
|
||||
];
|
||||
root = "${elementCallConfigured}";
|
||||
};
|
||||
};
|
||||
|
||||
virtualisation.oci-containers.containers.fluffychat = {
|
||||
|
||||
@@ -35,6 +35,7 @@
|
||||
"msc3779_enabled" = true;
|
||||
"msc3401_enabled" = true;
|
||||
"msc4143_enabled" = true;
|
||||
"msc4195_enabled" = true;
|
||||
};
|
||||
listeners = [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user