clanModules: Init heisenbridge matrix <-> IRC bridge

This commit is contained in:
Qubasa
2024-08-26 16:59:29 +02:00
parent ce4ef849da
commit dc34fca17c
5 changed files with 30 additions and 1 deletions

View File

@@ -0,0 +1,4 @@
---
description = "A matrix bridge to communicate with IRC"
---

View File

@@ -0,0 +1,23 @@
{
config,
lib,
...
}:
{
imports = [
(lib.mkRemovedOptionModule [
"clan"
"heisenbridge"
"enable"
] "Importing the module will already enable the service.")
];
config = {
services.heisenbridge = {
enable = true;
homeserver = "http://localhost:8008"; # TODO: Sync with matrix-synapse
};
services.matrix-synapse.settings.app_service_config_files = [
"/var/lib/heisenbridge/registration.yml"
];
};
}