Matrix configuration #13
|
@ -1,8 +1,8 @@
|
||||||
nixos domain option nixos domain option
|
|||||||
{ config, pkgs, lib, ... }:
|
{ config, pkgs, lib, ... }:
|
||||||
let
|
let
|
||||||
domain = "staging.ifsr.de";
|
domainServer = "matrix.${config.fsr.domain}";
|
||||||
nixos domain option nixos domain option
nixos domain option nixos domain option
|
|||||||
domainServer = "matrix.${domain}";
|
domainClient = "chat.${config.fsr.domain}";
|
||||||
nixos domain option nixos domain option
nixos domain option nixos domain option
|
|||||||
domainClient = "chat.${domain}";
|
|
||||||
nixos domain option nixos domain option
nixos domain option nixos domain option
|
|||||||
clientConfig = {
|
clientConfig = {
|
||||||
"m.homeserver" = {
|
"m.homeserver" = {
|
||||||
base_url = "https://${domainServer}:443";
|
base_url = "https://${domainServer}:443";
|
||||||
|
@ -13,6 +13,7 @@ let
|
||||||
nixos domain option nixos domain option
nixos domain option nixos domain option
|
|||||||
serverConfig = {
|
serverConfig = {
|
||||||
"m.server" = "${domainServer}:443";
|
"m.server" = "${domainServer}:443";
|
||||||
};
|
};
|
||||||
|
|
||||||
nixos domain option nixos domain option
|
|||||||
mkWellKnown = data: ''
|
mkWellKnown = data: ''
|
||||||
add_header Content-Type application/json;
|
add_header Content-Type application/json;
|
||||||
add_header Access-Control-Allow-Origin *;
|
add_header Access-Control-Allow-Origin *;
|
||||||
|
|
||||||
nixos domain option nixos domain option
nixos domain option nixos domain option
|
Loading…
Reference in a new issue
nixos domain option