summaryrefslogtreecommitdiff
path: root/modules/matrix
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2024-05-05 14:28:31 +0300
committerAzat Bahawi <azat@bahawi.net>2024-05-05 14:28:31 +0300
commit389becf9700d3dee7f09073ce4d235fc7c30b5c8 (patch)
tree3db9d75bd5275614fc904184c97b3133f38bc3d0 /modules/matrix
parent3cd3233f7eaf2a8a715d587820d6d4577a24d958 (diff)
2024-05-05
Diffstat (limited to 'modules/matrix')
-rw-r--r--modules/matrix/dendrite.nix12
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}";
+ };
+ };
};
}