change c10y config
This commit is contained in:
parent
5acdd30d5f
commit
f6783dd9e3
2 changed files with 55 additions and 58 deletions
|
|
@ -1,8 +1,17 @@
|
|||
{
|
||||
{ lib, pkgs, ... }: {
|
||||
systemd.services.continuwuity.serviceConfig = {
|
||||
MemoryMax = "5.5G";
|
||||
MemorySwapMax = "4.5G";
|
||||
TimeoutStartSec = "10m";
|
||||
Restart = lib.mkForce "always";
|
||||
ExecStartPost = "/bin/sh -c 'until ${lib.getExe pkgs.curl} -s -f https://matrix.federated.nexus/.well-known/matrix/client; do sleep 1; done'";
|
||||
};
|
||||
|
||||
quad.matrix = rec {
|
||||
enable = true;
|
||||
domain = "federated.nexus";
|
||||
settings = {
|
||||
cache_capacity_modifier = 0.8;
|
||||
admins_list = [
|
||||
"@nexusbot:federated.nexus"
|
||||
"@quadradical:federated.nexus"
|
||||
|
|
|
|||
Loading…
Reference in a new issue