tracking sealight-synapse (lituus) from here now

This commit is contained in:
Anish Lakhwara
2022-10-01 18:03:45 +10:00
parent da451faf78
commit 22b190b610
7 changed files with 108 additions and 12 deletions
@@ -1,5 +1,6 @@
# TODO too lazy to figure out how the official module works so i use this one lol
{ config, lib, pkgs, ... }: with lib; let
cfg = config.services.heisenbridge;
cfg = config.services.sealight.heisenbridge;
heisenbridgeAppserviceConfig = {
id = "heisenbridge";
@@ -20,7 +21,7 @@
in
{
options = {
services.heisenbridge = {
services.sealight.heisenbridge = {
enable = mkEnableOption "heisenbridge, a bouncer-style Matrix IRC bridge.";
identd.enable = mkEnableOption "identd for heisenbridge" // {
default = true;
@@ -87,7 +88,7 @@ in
# Open ports for identd.
networking.firewall.allowedTCPPorts = mkIf cfg.identd.enable [ 113 ];
systemd.services.heisenbridge = {
systemd.services.heisenbridge-sealight = {
description = "Heisenbridge Matrix IRC bridge";
after = [ "matrix-synapse.service" ];
wantedBy = [ "multi-user.target" ];