Fix riot/matrix
This commit is contained in:
parent
2306be4566
commit
6208ea855a
2 changed files with 2 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
||||||
{ config, ... }:
|
{ pkgs, config, ... }:
|
||||||
let
|
let
|
||||||
hostName = "matrix.maralorn.de";
|
hostName = "matrix.maralorn.de";
|
||||||
inherit (config.m-0) hosts;
|
inherit (config.m-0) hosts;
|
||||||
|
@ -35,7 +35,6 @@ in {
|
||||||
url_preview_enabled = true;
|
url_preview_enabled = true;
|
||||||
database_type = "psycopg2";
|
database_type = "psycopg2";
|
||||||
max_upload_size = "30M";
|
max_upload_size = "30M";
|
||||||
create_local_database = false;
|
|
||||||
dynamic_thumbnails = true;
|
dynamic_thumbnails = true;
|
||||||
registration_shared_secret =
|
registration_shared_secret =
|
||||||
config.m-0.private.matrix_registration_secret;
|
config.m-0.private.matrix_registration_secret;
|
||||||
|
|
|
@ -26,7 +26,7 @@ in {
|
||||||
virtualHosts."riot.maralorn.de" = {
|
virtualHosts."riot.maralorn.de" = {
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
root = pkgs.riot-web.overrideAttrs (old: { conf = riot_config; });
|
root = pkgs.riot-web.override (old: { conf = riot_config; });
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue