aboutsummaryrefslogtreecommitdiff
path: root/modules/services
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2023-11-05 12:50:11 +0900
committersefidel <contact@sefidel.net>2023-11-12 17:12:49 +0900
commit8c2d625042c3497893702a6d3538330bb8148959 (patch)
treea6855a24c2c9872d2bbab9bb22a386945be29957 /modules/services
parentf49a7dc20d11732e9250b1e88398931f25e3b23b (diff)
downloadinfra-8c2d625042c3497893702a6d3538330bb8148959.zip
chore(modules)!: dendrite -> matrix-homeserver
This commit removes direct references to dendrite in system configuration to provide a base to switch to other homeservers.
Diffstat (limited to 'modules/services')
-rw-r--r--modules/services/matrix-homeserver.nix (renamed from modules/services/dendrite.nix)8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/services/dendrite.nix b/modules/services/matrix-homeserver.nix
index fe19e11..6af8f7f 100644
--- a/modules/services/dendrite.nix
+++ b/modules/services/matrix-homeserver.nix
@@ -2,7 +2,7 @@
with lib;
let
- cfg = config.modules.services.dendrite;
+ cfg = config.modules.services.matrix-homeserver;
database = {
connection_string = "postgres:///dendrite?host=/run/postgresql";
@@ -16,13 +16,13 @@ in
../../overlays/sliding-sync-module.nix
];
- options.modules.services.dendrite = {
- enable = mkEnableOption "dendrite instance";
+ options.modules.services.matrix-homeserver = {
+ enable = mkEnableOption "matrix homeserver instance";
domain = mkOption { type = types.str; };
realHost = mkOption { type = types.str; default = "matrix.${cfg.domain}"; };
slidingSyncHost = mkOption { type = types.str; default = "slidingsync.${cfg.domain}"; };
turn = {
- enable = mkEnableOption "VOIP suing TURN";
+ enable = mkEnableOption "VOIP using TURN";
domain = mkOption { type = types.str; default = "turn.${cfg.domain}"; };
shared_secret = mkOption { type = types.str; };
};