about summary refs log tree commit diff
path: root/systems/cobalt/default.nix
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2023-11-12 16:49:42 +0900
committersefidel <contact@sefidel.net>2023-11-12 17:12:54 +0900
commit2c27931d491a39f190f788d19dd455124d347885 (patch)
tree670a7e33591486949614c0bedc6933b944aacb2f /systems/cobalt/default.nix
parentdc0cb43c0e26118ff8fae004b5133ac9fd13f00e (diff)
downloadinfra-2c27931d491a39f190f788d19dd455124d347885.tar.gz
infra-2c27931d491a39f190f788d19dd455124d347885.zip
chore(systems/cobalt): set urls from dependent module, part 1
Diffstat (limited to 'systems/cobalt/default.nix')
-rw-r--r--systems/cobalt/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/systems/cobalt/default.nix b/systems/cobalt/default.nix
index 9c5b6ba..e909189 100644
--- a/systems/cobalt/default.nix
+++ b/systems/cobalt/default.nix
@@ -280,7 +280,7 @@ in
     };
     services.matrix-moderation = {
       enable = true;
-      domain = "exotic.sh";
+      domain = config.modules.services.matrix-homeserver.domain;
       secrets.userPassword = config.sops.secrets.mjolnir-password.path;
     };
     services.matrix-bridge = {
@@ -288,6 +288,7 @@ in
       domain = config.modules.services.matrix-homeserver.domain;
       secrets.mautrix-envs = config.sops.secrets.mautrix-telegram-envs.path;
     };
+    # TODO: replace all URLs to be relative to the core homeserver service
     services.element-web = {
       enable = true;
       hostName = "chat.exotic.sh";