initial matrix/conduit stuff, i think?
Some checks are pending
/ Check formatting (push) Waiting to run
Some checks are pending
/ Check formatting (push) Waiting to run
This commit is contained in:
parent
7fd75ef160
commit
2e59119a50
5 changed files with 733 additions and 43 deletions
24
services/social/conduit.mod.nix
Normal file
24
services/social/conduit.mod.nix
Normal 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
|
||||
})
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue