feat: add continuwuity server
This commit is contained in:
parent
2e50350107
commit
4863ab05f5
4 changed files with 73 additions and 15 deletions
21
services/continuwuity.nix
Normal file
21
services/continuwuity.nix
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
let
|
||||
net = import ../data/network.nix;
|
||||
serv = import ../data/services.nix;
|
||||
in
|
||||
{
|
||||
services.matrix-continuwuity = {
|
||||
settings = {
|
||||
global = {
|
||||
server_name = net.services.continuwuity.domainOverride;
|
||||
address = "127.0.0.1";
|
||||
port = 6167;
|
||||
allow_registration = true;
|
||||
allow_encryption = true;
|
||||
allow_federation = true;
|
||||
max_request_size = 20 * 1024 * 1024; # 20 MiB
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue