hippocampus: enable registration
This commit is contained in:
@@ -1,4 +1,7 @@
|
|||||||
{ config, pkgs, lib, ... }: {
|
{ config, pkgs, lib, ... }: {
|
||||||
|
sops.secrets.tuwunelreg = {
|
||||||
|
owner = config.services.matrix-tuwunel.user;
|
||||||
|
};
|
||||||
services.matrix-tuwunel = {
|
services.matrix-tuwunel = {
|
||||||
enable = true;
|
enable = true;
|
||||||
stateDirectory = "tuwunel";
|
stateDirectory = "tuwunel";
|
||||||
@@ -12,6 +15,11 @@
|
|||||||
server_name = "glia.club";
|
server_name = "glia.club";
|
||||||
allow_federation = false;
|
allow_federation = false;
|
||||||
allow_encryption = true;
|
allow_encryption = true;
|
||||||
|
|
||||||
|
new_user_displayname_suffix = "🌱";
|
||||||
|
|
||||||
|
allow_registration = true;
|
||||||
|
registration_token_file = config.sops.secrets.tuwunelreg.path;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user