adyya-flake/services/social/conduit.mod.nix
Ittihadyya 2e59119a50
Some checks are pending
/ Check formatting (push) Waiting to run
initial matrix/conduit stuff, i think?
2025-01-12 10:58:15 +02:00

24 lines
No EOL
672 B
Nix

{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
})
];
}