Merge pull request 'clanModules: Init heisenbridge matrix <-> IRC bridge' (#1976) from Qubasa/clan-core:Qubasa-main into main

This commit is contained in:
clan-bot
2024-08-26 15:05:26 +00:00
5 changed files with 30 additions and 1 deletions

View File

@@ -8,6 +8,7 @@
ergochat = ./ergochat;
garage = ./garage;
golem-provider = ./golem-provider;
heisenbridge = ./heisenbridge;
iwd = ./iwd;
localbackup = ./localbackup;
localsend = ./localsend;

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"
];
};
}

View File

@@ -203,7 +203,7 @@ in
forceSSL = true;
enableACME = true;
locations."/".root = element-web;
locations."/_matrix".proxyPass = "http://localhost:8008";
locations."/_matrix".proxyPass = "http://localhost:8008"; # TODO: We should make the port configurable
locations."/_synapse".proxyPass = "http://localhost:8008";
};
};

View File

@@ -69,6 +69,7 @@ nav:
- reference/clanModules/localbackup.md
- reference/clanModules/localsend.md
- reference/clanModules/matrix-synapse.md
- reference/clanModules/heisenbridge.md
- reference/clanModules/moonlight.md
- reference/clanModules/mumble.md
- reference/clanModules/packages.md