added some boilerplate for grafana synapse integration

This commit is contained in:
chloe 2024-07-22 10:49:23 +02:00
parent 3e87818160
commit d306674b00
2 changed files with 49 additions and 5 deletions

View file

@ -38,11 +38,17 @@ in
names = [
"client"
"federation"
"metrics"
];
compress = true;
}
];
}
{
port = 9000;
type = "metrics";
bind_addresses = ["::1" "0.0.0.0" ]
}
];
};
@ -57,6 +63,32 @@ in
};
/*
services.mautrix-discord = {
enable = true;
environmentFile = "";
settings = {
homeserver = {
address = "http://localhost:8008";
domain = "hypervirtual.world";
};
appservice = {
provisioning.enabled = false;
id = "discord";
public = {
};
database = "";
};
};
};
services.mautrix-whatsapp = { };
*/
services.postgresql = {
enable = true;
package = pkgs.postgresql_15;