summary refs log tree commit diff
path: root/host/Rory-nginx/services/matrix/grapevine.nix
blob: 0f0006b43f5b1994c24acdde257a0d6e9f345fa1 (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
27
28
29
30
31
{ ... }:

{
  services.grapevine = {
    enable = true;
    settings = {
      conduit_compat = true;
      server_name = "conduit.rory.gay";
      trusted_servers = [ "rory.gay" ];

      listen = [
        {
          type = "tcp";
          address = "127.0.0.1";
          port = 6167;
        }
      ];

      database = {
        backend = "rocksdb";
      };

      allow_check_for_updates = false;
      allow_registration = false;

      #log = "info";
      #log_format = "full";
      log = "debug";
    };
  };
}