parent
a2b75c1105
commit
bd2198efd0
1 changed files with 5 additions and 10 deletions
|
@ -2,10 +2,9 @@
|
||||||
config,
|
config,
|
||||||
lib,
|
lib,
|
||||||
pkgs,
|
pkgs,
|
||||||
inputs,
|
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
containers.conduit-stranger-systems = {
|
containers.conduit = {
|
||||||
autoStart = true;
|
autoStart = true;
|
||||||
privateNetwork = true;
|
privateNetwork = true;
|
||||||
hostAddress = "192.168.100.10";
|
hostAddress = "192.168.100.10";
|
||||||
|
@ -18,7 +17,6 @@
|
||||||
isReadOnly = false;
|
isReadOnly = false;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
nixpkgs = inputs.nixpkgs-unstable.outPath;
|
|
||||||
config = {
|
config = {
|
||||||
config,
|
config,
|
||||||
lib,
|
lib,
|
||||||
|
@ -26,16 +24,13 @@
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
# Conduit proper
|
# Conduit proper
|
||||||
services.conduwuit = {
|
services.matrix-conduit = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings.global = {
|
settings.global = {
|
||||||
server_name = "stranger.systems";
|
server_name = "stranger.systems";
|
||||||
rocksdb_optimize_for_spinning_disks = true;
|
allow_registration = false;
|
||||||
new_user_displayname_suffix = "";
|
port = 6167;
|
||||||
allow_registration = true;
|
address = "0.0.0.0";
|
||||||
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