Switch to conduwuit
This commit is contained in:
parent
582602fe82
commit
32e433123c
1 changed files with 10 additions and 5 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue