nixos-config/modules/system/services/server/socialserver/matrix/element/default.nix

22 lines
675 B
Nix
Raw Normal View History

{ config, lib, ... }:
2024-10-09 03:36:08 -04:00
{
imports = [ ./nginx ];
config = lib.mkIf config.services.matrix-synapse.enable {
nixpkgs.config.element-web.conf = {
default_server_config."m.homeserver" = {
2025-03-04 17:24:48 -05:00
base_url = "https://matrix.nixfox.ca";
server_name = "matrix.nixfox.ca";
};
branding = {
2025-03-04 17:04:09 -05:00
auth_header_logo_url = "https://www.nixfox.ca/images/copyright/profile.png";
#welcome_background_url = "https://www.nixfox.ca/images/backgrounds/template-background.png";
};
2025-03-04 17:04:09 -05:00
embedded_pages.home_url = "https://www.nixfox.ca/";
disable_custom_urls = true;
disable_guests = true;
default_theme = "dark";
2024-08-24 22:16:51 -04:00
};
};
}