From 389becf9700d3dee7f09073ce4d235fc7c30b5c8 Mon Sep 17 00:00:00 2001 From: Azat Bahawi Date: Sun, 5 May 2024 14:28:31 +0300 Subject: 2024-05-05 --- modules/matrix/dendrite.nix | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'modules/matrix') diff --git a/modules/matrix/dendrite.nix b/modules/matrix/dendrite.nix index dafef00..c391ba0 100644 --- a/modules/matrix/dendrite.nix +++ b/modules/matrix/dendrite.nix @@ -1,8 +1,9 @@ { config, - lib, inputs, + lib, pkgs, + this, ... }: with lib; @@ -235,5 +236,14 @@ in ]; }; }; + + topology = with cfg; { + nodes.${this.hostname}.services.dendrite = { + name = "Dendrite"; + icon = "${inputs.homelab-svg-assets}/assets/matrix-white.svg"; + info = domain; + details.listen.text = "127.0.0.1:${toString port}"; + }; + }; }; } -- cgit 1.4.1