clanModules: Init heisenbridge matrix <-> IRC bridge
This commit is contained in:
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"
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user