Merge pull request 'clanModules: Init heisenbridge matrix <-> IRC bridge' (#1976) from Qubasa/clan-core:Qubasa-main into main
This commit is contained in:
@@ -8,6 +8,7 @@
|
|||||||
ergochat = ./ergochat;
|
ergochat = ./ergochat;
|
||||||
garage = ./garage;
|
garage = ./garage;
|
||||||
golem-provider = ./golem-provider;
|
golem-provider = ./golem-provider;
|
||||||
|
heisenbridge = ./heisenbridge;
|
||||||
iwd = ./iwd;
|
iwd = ./iwd;
|
||||||
localbackup = ./localbackup;
|
localbackup = ./localbackup;
|
||||||
localsend = ./localsend;
|
localsend = ./localsend;
|
||||||
|
|||||||
4
clanModules/heisenbridge/README.md
Normal file
4
clanModules/heisenbridge/README.md
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
---
|
||||||
|
description = "A matrix bridge to communicate with IRC"
|
||||||
|
---
|
||||||
|
|
||||||
23
clanModules/heisenbridge/default.nix
Normal file
23
clanModules/heisenbridge/default.nix
Normal 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"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -203,7 +203,7 @@ in
|
|||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
locations."/".root = element-web;
|
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";
|
locations."/_synapse".proxyPass = "http://localhost:8008";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -69,6 +69,7 @@ nav:
|
|||||||
- reference/clanModules/localbackup.md
|
- reference/clanModules/localbackup.md
|
||||||
- reference/clanModules/localsend.md
|
- reference/clanModules/localsend.md
|
||||||
- reference/clanModules/matrix-synapse.md
|
- reference/clanModules/matrix-synapse.md
|
||||||
|
- reference/clanModules/heisenbridge.md
|
||||||
- reference/clanModules/moonlight.md
|
- reference/clanModules/moonlight.md
|
||||||
- reference/clanModules/mumble.md
|
- reference/clanModules/mumble.md
|
||||||
- reference/clanModules/packages.md
|
- reference/clanModules/packages.md
|
||||||
|
|||||||
Reference in New Issue
Block a user