sakura: enable conduit
This commit is contained in:
parent
22bf7e1026
commit
091f8cde16
2 changed files with 10 additions and 4 deletions
|
@ -1,20 +1,26 @@
|
||||||
_: {
|
{inputs, ...}: {
|
||||||
networking.firewall.allowedTCPPorts = [6167 8448];
|
networking.firewall.allowedTCPPorts = [6167 8448];
|
||||||
services.matrix-conduit = {
|
services.matrix-conduit = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
package = inputs.conduwuit.packages.x86_64-linux.default;
|
||||||
settings = {
|
settings = {
|
||||||
global = {
|
global = {
|
||||||
address = "0.0.0.0";
|
address = "0.0.0.0";
|
||||||
server_name = "matrix.flake.sh";
|
server_name = "matrix.flake.sh";
|
||||||
allow_registration = true;
|
allow_registration = false;
|
||||||
allow_federation = true;
|
allow_federation = true;
|
||||||
allow_encryption = true;
|
allow_encryption = true;
|
||||||
log = "warn";
|
log = "info";
|
||||||
max_concurrent_requests = 100;
|
max_concurrent_requests = 100;
|
||||||
max_request_size = 20000000;
|
max_request_size = 20000000;
|
||||||
database_backend = "rocksdb";
|
database_backend = "rocksdb";
|
||||||
enable_lightning_bolt = false;
|
enable_lightning_bolt = false;
|
||||||
trusted_servers = ["matrix.org"];
|
trusted_servers = ["matrix.org"];
|
||||||
|
url_preview_domain_contains_allowlist = ["*"];
|
||||||
|
well_known = {
|
||||||
|
client = "https://matrix.flake.sh";
|
||||||
|
server = "matrix.flake.sh:443";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
# ./hedgedoc.nix
|
# ./hedgedoc.nix
|
||||||
./grafana.nix
|
./grafana.nix
|
||||||
./vaultwarden.nix
|
./vaultwarden.nix
|
||||||
# ./conduit.nix
|
./conduit.nix
|
||||||
./tailscale.nix
|
./tailscale.nix
|
||||||
./rustlog.nix
|
./rustlog.nix
|
||||||
./wastebin.nix
|
./wastebin.nix
|
||||||
|
|
Loading…
Reference in a new issue