summary refs log tree commit diff
path: root/host/Rory-nginx/services/matrix/grapevine.nix
blob: 700c4bb71b9f1678d6539ae4b07782a4089e55fc (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
{ 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";
    };
  };
}