changes
This commit is contained in:
parent
d8db7df64e
commit
c9a024840b
20 changed files with 301 additions and 70 deletions
|
|
@ -2,7 +2,7 @@
|
|||
let
|
||||
hostname = "matrix";
|
||||
fqdn = "${hostname}.cloonar.com";
|
||||
baseUrl = "https://matrix.cloonar.com";
|
||||
baseUrl = "https://${fqdn}";
|
||||
clientConfig."m.homeserver".base_url = baseUrl;
|
||||
serverConfig."m.server" = "${fqdn}:443";
|
||||
mkWellKnown = data: ''
|
||||
|
|
@ -25,6 +25,27 @@ in {
|
|||
}
|
||||
];
|
||||
};
|
||||
|
||||
services.nginx.virtualHosts."element.cloonar.com" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
acmeRoot = null;
|
||||
root = pkgs.element-web.override {
|
||||
conf = {
|
||||
default_theme = "dark";
|
||||
default_server_config = {
|
||||
"m.homeserver" = {
|
||||
base_url = "https://matrix.cloonar.com";
|
||||
server_name = "cloonar.com";
|
||||
};
|
||||
};
|
||||
disable_custom_urls = true;
|
||||
disable_3pid_login = true;
|
||||
default_country_code = "AT";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
services.postgresqlBackup.enable = true;
|
||||
services.postgresqlBackup.databases = [ "dendrite" ];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue