Skip to content

matrix-synapse

A federated messaging server with end-to-end encryption.

Usage

To use this module, import it like this:

{config, lib, inputs, ...}: {
    imports = [ inputs.clan-core.clanModules.matrix-synapse ];
    # ...
}

Module Options

clan.matrix-synapse.domain

The domain name of the matrix server

Type: string

Example
"example.com"

matrix-synapse

clan.matrix-synapse.users

A list of users. Not that only new users will be created and existing ones are not modified.

Type: attribute set of (submodule)

Default:

{ }
Example
{
  alice = {
    admin = true;
  };
}

matrix-synapse

clan.matrix-synapse.users.<name>.admin

Whether the user should be an admin

Type: boolean

Default:

false

matrix-synapse

clan.matrix-synapse.users.<name>.name

The name of the user

Type: string

Default:

"‹name›"

matrix-synapse