NixOS-Config/modules/system/services/server/social/matrix/element/default.nix

24 lines
693 B
Nix
Raw Normal View History

{ config, ... }:
2024-10-09 03:36:08 -04:00
{
imports = [ ./nginx ];
2024-08-26 13:11:54 -04:00
nixpkgs.config.element-web.conf = {
2024-08-24 22:16:51 -04:00
default_server_config = {
"m.homeserver" = {
base_url = "https://matrix.${config.domains.jim1}";
server_name = "matrix.${config.domains.jim1}";
2024-08-24 22:16:51 -04:00
};
};
branding = {
#welcome_background_url = "https://staging.${config.domains.jim1}/images/backgrounds/template-background.png";
#auth_header_logo_url = "https://staging.${config.domains.jim1}/images/logos/template-logo.png";
2024-08-24 22:16:51 -04:00
};
embedded_pages = {
home_url = "https://www.${config.domains.jim1}/";
2024-08-24 22:16:51 -04:00
};
disable_custom_urls = true;
disable_guests = true;
default_theme = "dark";
};
}