2025-01-01 02:02:00 -05:00
|
|
|
{ config, lib, ... }:
|
2024-10-09 03:36:08 -04:00
|
|
|
{
|
2024-11-04 22:41:38 -05:00
|
|
|
imports = [ ./nginx ];
|
2024-10-07 11:42:34 -04:00
|
|
|
|
2025-01-01 02:02:00 -05:00
|
|
|
config = lib.mkIf config.services.matrix-synapse.enable {
|
|
|
|
nixpkgs.config.element-web.conf = {
|
|
|
|
default_server_config."m.homeserver" = {
|
|
|
|
base_url = "https://matrix.${config.domains.p1}";
|
|
|
|
server_name = "matrix.${config.domains.p1}";
|
|
|
|
};
|
|
|
|
branding = {
|
|
|
|
#welcome_background_url = "https://staging.${config.domains.p1}/images/backgrounds/template-background.png";
|
|
|
|
#auth_header_logo_url = "https://staging.${config.domains.p1}/images/logos/template-logo.png";
|
|
|
|
};
|
|
|
|
embedded_pages = {
|
|
|
|
home_url = "https://www.${config.domains.p1}/";
|
|
|
|
};
|
|
|
|
disable_custom_urls = true;
|
|
|
|
disable_guests = true;
|
|
|
|
default_theme = "dark";
|
2024-08-24 22:16:51 -04:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|