diff options
author | Azat Bahawi <azat@bahawi.net> | 2024-05-05 14:28:31 +0300 |
---|---|---|
committer | Azat Bahawi <azat@bahawi.net> | 2024-05-05 14:28:31 +0300 |
commit | 389becf9700d3dee7f09073ce4d235fc7c30b5c8 (patch) | |
tree | 3db9d75bd5275614fc904184c97b3133f38bc3d0 /modules/matrix/dendrite.nix | |
parent | 2024-05-04 (diff) |
2024-05-05
Diffstat (limited to '')
-rw-r--r-- | modules/matrix/dendrite.nix | 12 |
1 files changed, 11 insertions, 1 deletions
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}"; + }; + }; }; } |