forked from wurzel/fruitbasket
format, use domain option
This commit is contained in:
parent
509cfd4121
commit
ce7db4dac5
1 changed files with 18 additions and 17 deletions
|
@ -1,8 +1,8 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
let
|
||||
domain = "staging.ifsr.de";
|
||||
domainServer = "matrix.${domain}";
|
||||
domainClient = "chat.${domain}";
|
||||
domainServer = "matrix.${config.fsr.domain}";
|
||||
domainClient = "chat.${config.fsr.domain}";
|
||||
|
||||
clientConfig = {
|
||||
"m.homeserver" = {
|
||||
base_url = "https://${domainServer}:443";
|
||||
|
@ -13,6 +13,7 @@ let
|
|||
serverConfig = {
|
||||
"m.server" = "${domainServer}:443";
|
||||
};
|
||||
|
||||
mkWellKnown = data: ''
|
||||
add_header Content-Type application/json;
|
||||
add_header Access-Control-Allow-Origin *;
|
||||
|
|
Loading…
Add table
Reference in a new issue