blob: 8c31e102b799176ba555f33f5d1114c0c6c2c056 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
{ config, pkgs, lib, ... }:
{
# Discord bridge
services.matrix-appservice-discord = {
enable = false; # Alicia - figure out secret first...
environmentFile = /etc/keyring/matrix-appservice-discord/tokens.env;
# The appservice is pre-configured to use SQLite by default.
# It's also possible to use PostgreSQL.
settings = {
bridge = {
domain = "rory.gay";
homeserverUrl = "https://matrix.rory.gay";
};
# The service uses SQLite by default, but it's also possible to use
# PostgreSQL instead:
database = {
# filename = ""; # empty value to disable sqlite
connString = "postgres://postgres@127.0.0.1/matrix-appservice-discord";
};
};
};
}
|