summaryrefslogtreecommitdiff
path: root/modules/nixos/matrix-conduit.nix
blob: 595d48cf73105032a0e0e4fc513e2266ebfa8958 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
{config, ...}: {
  services.matrix-conduit = {
    enable = true;
    settings.global = {
      server_name = "${config.networking.domain}";
      address = "localhost";
      database_backend = "rocksdb";
      allow_registration = true;
      allow_federation = true;
    };
    secretFile = config.age.secrets.conduit-secretFile.path;
  };
}