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

25 lines
729 B
Nix
Raw Normal View History

{ pkgs, outputs, ... }: {
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.${outputs.secrets.jimDomain}";
server_name = "matrix.${outputs.secrets.jimDomain}";
2024-08-24 22:16:51 -04:00
};
};
branding = {
#welcome_background_url = "https://staging.${outputs.secrets.jimDomain}/images/backgrounds/bloxelcom-sunset.jpg";
#auth_header_logo_url = "https://staging.${outputs.secrets.jimDomain}/images/logos/bloxelcom.png";
2024-08-24 22:16:51 -04:00
};
embedded_pages = {
home_url = "https://www.${outputs.secrets.jimDomain}/";
2024-08-24 22:16:51 -04:00
};
disable_custom_urls = true;
disable_guests = true;
default_theme = "dark";
};
}