diff options
-rw-r--r-- | modules/services/matrix-homeserver.nix (renamed from modules/services/dendrite.nix) | 8 | ||||
-rw-r--r-- | systems/cobalt/default.nix | 2 |
2 files changed, 5 insertions, 5 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; }; }; diff --git a/systems/cobalt/default.nix b/systems/cobalt/default.nix index a663385..bbd5261 100644 --- a/systems/cobalt/default.nix +++ b/systems/cobalt/default.nix @@ -254,7 +254,7 @@ in }; services.fail2ban.enable = true; services.postgresql.enable = true; - services.dendrite = { + services.matrix-homeserver = { enable = true; domain = "exotic.sh"; realHost = "matrix.exotic.sh"; |