initial matrix/conduit stuff, i think?
Some checks are pending
/ Check formatting (push) Waiting to run

This commit is contained in:
Ittihadyya 2025-01-12 10:58:15 +02:00
parent 7fd75ef160
commit 2e59119a50
5 changed files with 733 additions and 43 deletions

View file

@ -0,0 +1,24 @@
{conduwuit, ...}: {
glucose.modules = [
({
lib,
config,
...
}: {
services.matrix-conduit = {
enable = true;
package = conduwuit.packages.x86_64-linux.default;
settings.global = {
server_name = "collective-conciousness.monster";
database_backend = "rocksdb";
max_request_size = 1024 * 1024 * 1024;
address = "127.0.0.1";
port = "7893";
database_path = "/var/services/conduwuit/";
};
};
systemd.services.conduit.serviceConfig.ExecStart = lib.mkForce (lib.getExe config.services.matrix-conduit.package); # wrong in nixpkgs
})
];
}