1
0
Fork 0
nixos-config/system/riot.nix
2020-06-03 19:07:44 +02:00

26 lines
667 B
Nix

{ config, pkgs, lib, ... }:
let
riot_config = {
default_server_config."m.homeserver" = {
server_name = "maralorn.de";
base_url = "https://matrix.maralorn.de";
};
integrations_ui_url = "";
integgrations_rest_url = "";
integrations_widgets_urls = [ ];
roomDirectory.servers = [ "matrix.org" "maralorn.de" ];
branding.welcomeBackgroundUrl =
"https://cloud.maralorn.de/apps/theming/image/background";
};
in {
services.nginx = {
enable = true;
virtualHosts."riot.maralorn.de" = {
enableACME = true;
forceSSL = true;
root = pkgs.riot-web.override (old: { conf = riot_config; });
};
};
}