summaryrefslogtreecommitdiff
path: root/nix/modules/conduit.nix
blob: e47c7a26eaf100ca0665a4ce87711969bcc123ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{ config, lib, ... }:
{
  services.matrix-conduit = {
    enable = lib.mkDefault config.monorepo.profiles.server.enable;
    settings.global = {
      server_name = "matrix.${config.monorepo.vars.remoteHost}";
      trusted_servers = [
        "matrix.org"
        "nixos.org"
      ];
      address = "0.0.0.0";
      port = 6167;
      allow_registration = false;
    };
  };
}