Compare commits

...

2 commits

Author SHA1 Message Date
091f8cde16
sakura: enable conduit 2024-12-16 22:40:25 -05:00
22bf7e1026
flake.nix: add conduwuit 2024-12-16 22:39:46 -05:00
4 changed files with 942 additions and 275 deletions

1202
flake.lock

File diff suppressed because it is too large Load diff

View file

@ -108,6 +108,7 @@
eww.url = "github:elkowar/eww";
anyrun.url = "github:Kirottu/anyrun";
botoh.url = "git+https://git.flake.sh/notohh/botoh";
conduwuit.url = "github:girlbossceo/conduwuit";
deploy-rs = {
url = "github:serokell/deploy-rs";
inputs.nixpkgs.follows = "nixpkgs";

View file

@ -1,20 +1,26 @@
_: {
{inputs, ...}: {
networking.firewall.allowedTCPPorts = [6167 8448];
services.matrix-conduit = {
enable = true;
package = inputs.conduwuit.packages.x86_64-linux.default;
settings = {
global = {
address = "0.0.0.0";
server_name = "matrix.flake.sh";
allow_registration = true;
allow_registration = false;
allow_federation = true;
allow_encryption = true;
log = "warn";
log = "info";
max_concurrent_requests = 100;
max_request_size = 20000000;
database_backend = "rocksdb";
enable_lightning_bolt = false;
trusted_servers = ["matrix.org"];
url_preview_domain_contains_allowlist = ["*"];
well_known = {
client = "https://matrix.flake.sh";
server = "matrix.flake.sh:443";
};
};
};
};

View file

@ -7,7 +7,7 @@
# ./hedgedoc.nix
./grafana.nix
./vaultwarden.nix
# ./conduit.nix
./conduit.nix
./tailscale.nix
./rustlog.nix
./wastebin.nix