feat: massive refactoring...
This commit is contained in:
54
config/matrix-element.config.nix
Normal file
54
config/matrix-element.config.nix
Normal file
@@ -0,0 +1,54 @@
|
||||
{ config, tools, ... }:
|
||||
let
|
||||
hostname = tools.build_hostname "matrix";
|
||||
in
|
||||
{
|
||||
"default_server_config" = {
|
||||
"m.homeserver" = {
|
||||
"base_url" = "https://${hostname}";
|
||||
"server_name" = "My HomeServer";
|
||||
};
|
||||
"m.identity_server" = {
|
||||
"base_url" = "https://vector.im";
|
||||
};
|
||||
};
|
||||
"disable_custom_urls" = false;
|
||||
"disable_guests" = false;
|
||||
"disable_login_language_selector" = false;
|
||||
"disable_3pid_login" = false;
|
||||
"force_verification" = false;
|
||||
"brand" = "Element";
|
||||
"integrations_ui_url" = "https://scalar.vector.im/";
|
||||
"integrations_rest_url" = "https://scalar.vector.im/api";
|
||||
"integrations_widgets_urls" = [
|
||||
"https://scalar.vector.im/_matrix/integrations/v1"
|
||||
"https://scalar.vector.im/api"
|
||||
"https://scalar-staging.vector.im/_matrix/integrations/v1"
|
||||
"https://scalar-staging.vector.im/api"
|
||||
];
|
||||
"default_widget_container_height" = 280;
|
||||
"default_country_code" = "GB";
|
||||
"show_labs_settings" = false;
|
||||
"features" = { };
|
||||
"default_federate" = true;
|
||||
"default_theme" = "light";
|
||||
"room_directory" = {
|
||||
"servers" = [ "matrix.org" ];
|
||||
};
|
||||
"enable_presence_by_hs_url" = {
|
||||
"https://matrix.org" = false;
|
||||
"https://matrix-client.matrix.org" = false;
|
||||
};
|
||||
"setting_defaults" = {
|
||||
"breadcrumbs" = true;
|
||||
};
|
||||
"jitsi" = {
|
||||
"preferred_domain" = "meet.element.io";
|
||||
};
|
||||
"element_call" = {
|
||||
"url" = "https://call.element.io";
|
||||
"participant_limit" = 8;
|
||||
"brand" = "Element Call";
|
||||
};
|
||||
"map_style_url" = "https://api.maptiler.com/maps/streets/style.json?key=fU3vlMsMn4Jb6dnEIFsx";
|
||||
}
|
||||
Reference in New Issue
Block a user