Revert "Use conduwuit rc for token file support"
This reverts commit e47aa973bb
.
This commit is contained in:
parent
ea5d8bd6ef
commit
a2b75c1105
1 changed files with 1 additions and 10 deletions
|
@ -31,21 +31,12 @@
|
||||||
settings.global = {
|
settings.global = {
|
||||||
server_name = "stranger.systems";
|
server_name = "stranger.systems";
|
||||||
rocksdb_optimize_for_spinning_disks = true;
|
rocksdb_optimize_for_spinning_disks = true;
|
||||||
new_user_displayname_suffix = "";
|
new_user_displayname_suffix = "";
|
||||||
allow_registration = true;
|
allow_registration = true;
|
||||||
registration_token_file = "/var/lib/conduwuit/reg_token";
|
registration_token_file = "/var/lib/conduwuit/reg_token";
|
||||||
port = [6167];
|
port = [6167];
|
||||||
address = ["0.0.0.0"];
|
address = ["0.0.0.0"];
|
||||||
};
|
};
|
||||||
package = pkgs.conduwuit.overrideAttrs (oldAttrs: {
|
|
||||||
version = "v0.5.0-rc3";
|
|
||||||
src = pkgs.fetchFromGitHub {
|
|
||||||
owner = "girlbossceo";
|
|
||||||
repo = "conduwuit";
|
|
||||||
rev = "v0.5.0-rc3";
|
|
||||||
hash = "sha256-Etzh7m1aZBwKfcS6sa+2zBzdOaZSR+yFn2pwwGTilb4=";
|
|
||||||
};
|
|
||||||
});
|
|
||||||
};
|
};
|
||||||
# Open the port
|
# Open the port
|
||||||
networking.firewall.allowedTCPPorts = [6167];
|
networking.firewall.allowedTCPPorts = [6167];
|
||||||
|
|
Loading…
Add table
Reference in a new issue