summary refs log tree commit diff
path: root/host/Rory-nginx/services/matrix/grapevine.nix
blob: 1cb2e1985332177bbb560c6199d2f82291b95dd9 (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
32
33
34
35
36
37
{
  config,
  pkgs,
  lib,
  ...
}:

{
  services.grapevine = {
    #package = conduit.packages.${pkgs.system}.default;
    enable = true;
    settings = {
      conduit_compat = true;
      #      address = "127.0.0.1";
      server_name = "conduit.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";
    };
  };
}