A file for storing secrets. You can pass homeserver registration keys here.
If it already exists, **it must contain `server.unshared_secret`** which is used for signing API keys.
If `configMutable` is not set to true, **maubot user must have write access to this file**.
'';
};
configMutable=mkOption{
type=types.bool;
default=false;
description=mdDoc''
Whether maubot should write updated config into `extraConfigFile`. **This will make your Nix module settings have no effect besides the initial config, as extraConfigFile takes precedence over NixOS settings!**
defaultText=literalExpression''if isPostgresql config.services.maubot.settings.database then "default" else null'';
description=mdDoc''
The connection URL for plugin database. See [example config](https://github.com/maubot/maubot/blob/master/maubot/example-config.yaml) for exact format.
'';
};
postgres_max_conns_per_plugin=mkOption{
type=types.nullOrtypes.int;
default=3;
description=mdDoc''
Maximum number of connections per plugin instance.
'';
};
postgres_opts=mkOption{
type=types.attrs;
default={};
description=mdDoc''
Overrides for the default database_opts when using a non-default postgres connection URL.