Switch to conduwuit

This commit is contained in:
Nathan McCarty 2025-03-27 15:15:06 -04:00
parent 582602fe82
commit 32e433123c

View file

@ -2,9 +2,10 @@
config, config,
lib, lib,
pkgs, pkgs,
inputs,
... ...
}: { }: {
containers.conduit = { containers.conduit-stranger-systems = {
autoStart = true; autoStart = true;
privateNetwork = true; privateNetwork = true;
hostAddress = "192.168.100.10"; hostAddress = "192.168.100.10";
@ -17,6 +18,7 @@
isReadOnly = false; isReadOnly = false;
}; };
}; };
nixpkgs = inputs.nixpkgs-unstable.outPath;
config = { config = {
config, config,
lib, lib,
@ -24,13 +26,16 @@
... ...
}: { }: {
# Conduit proper # Conduit proper
services.matrix-conduit = { services.conduwuit = {
enable = true; enable = true;
settings.global = { settings.global = {
server_name = "stranger.systems"; server_name = "stranger.systems";
allow_registration = false; rocksdb_optimize_for_spinning_disks = true;
port = 6167; new_user_displayname_suffix = "";
address = "0.0.0.0"; allow_registration = true;
registration_token_file = "/var/lib/conduwuit/reg_token";
port = [6167];
address = ["0.0.0.0"];
}; };
}; };
# Open the port # Open the port