DEVELOPMENT ENVIRONMENT

~liljamo/nix-arta

ref: 673b8774700fb1858b4cfa6be1d1a1cab6063461 nix-arta/systems/hosts/alderaan/default.nix -rw-r--r-- 639 bytes
673b8774Jonni Liljamo chore(systems/hosts/proxy): remove old sourcequest entries 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";
}