DEVELOPMENT ENVIRONMENT

~liljamo/nix-arta

ref: 0d366ed8e8c72cf6c2421ef7c285364ca648cf1a nix-arta/systems/hosts/alderaan/default.nix -rw-r--r-- 639 bytes
0d366ed8Jonni Liljamo feat: add lothlorien matrix 2 months ago
                                                                                
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
{...}: let
  conduitPort = 6167;
in {
  networking.firewall.allowedTCPPorts = [conduitPort];

  services = {
    matrix-conduit = {
      enable = true;
      settings = {
        global = {
          server_name = "alderaan.fi";
          database_backend = "rocksdb";
          port = conduitPort;
          max_request_size = 50000000;
          allow_registration = false;
          allow_federation = true;
          allow_check_for_updates = false;
          enable_lightning_bolt = false;
          trusted_servers = ["matrix.org"];
          address = "0.0.0.0";
        };
      };
    };
  };

  system.stateVersion = "24.05";
}