diff options
Diffstat (limited to 'modules/matrix/dendrite.nix')
-rw-r--r-- | modules/matrix/dendrite.nix | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/modules/matrix/dendrite.nix b/modules/matrix/dendrite.nix index 89704ea..960096c 100644 --- a/modules/matrix/dendrite.nix +++ b/modules/matrix/dendrite.nix @@ -238,13 +238,11 @@ 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}"; - }; + topology.nodes.${this.hostname}.services.dendrite = { + name = "Dendrite"; + icon = "${inputs.homelab-svg-assets}/assets/matrix-white.svg"; + info = cfg.domain; + details.listen.text = "127.0.0.1:${toString cfg.port}"; }; }; } |