Revert "Use conduwuit rc for token file support"

This reverts commit e47aa973bb.
This commit is contained in:
Nathan McCarty 2025-03-28 15:08:04 -04:00
parent ea5d8bd6ef
commit a2b75c1105

View file

@ -31,21 +31,12 @@
settings.global = {
server_name = "stranger.systems";
rocksdb_optimize_for_spinning_disks = true;
new_user_displayname_suffix = "";
new_user_displayname_suffix = "";
allow_registration = true;
registration_token_file = "/var/lib/conduwuit/reg_token";
port = [6167];
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
networking.firewall.allowedTCPPorts = [6167];