1
0
Fork 0

Fix riot/matrix

This commit is contained in:
Malte Brandy 2020-04-26 17:40:36 +02:00
parent 2306be4566
commit 6208ea855a
2 changed files with 2 additions and 3 deletions

View file

@ -1,4 +1,4 @@
{ config, ... }:
{ pkgs, config, ... }:
let
hostName = "matrix.maralorn.de";
inherit (config.m-0) hosts;
@ -35,7 +35,6 @@ in {
url_preview_enabled = true;
database_type = "psycopg2";
max_upload_size = "30M";
create_local_database = false;
dynamic_thumbnails = true;
registration_shared_secret =
config.m-0.private.matrix_registration_secret;

View file

@ -26,7 +26,7 @@ in {
virtualHosts."riot.maralorn.de" = {
enableACME = true;
forceSSL = true;
root = pkgs.riot-web.overrideAttrs (old: { conf = riot_config; });
root = pkgs.riot-web.override (old: { conf = riot_config; });
};
};