tsuki/matrix: remove usage of secrets
module
This commit is contained in:
parent
8ef308d3e6
commit
908c48be89
@ -1,5 +1,4 @@
|
||||
{ pkgs, lib, config, secrets, ... }: {
|
||||
|
||||
{ pkgs, lib, config, ... }: {
|
||||
imports = [
|
||||
./bridges/matrix-appservice-irc.nix
|
||||
|
||||
@ -9,6 +8,12 @@
|
||||
./coturn.nix
|
||||
];
|
||||
|
||||
sops.secrets."matrix_synapse/registration_secret" = {
|
||||
owner = "matrix-synapse";
|
||||
group = "matrix-synapse";
|
||||
mode = "0440";
|
||||
};
|
||||
|
||||
services.matrix-synapse-next = {
|
||||
enable = true;
|
||||
enableNginx = true;
|
||||
@ -58,7 +63,7 @@
|
||||
# with the registration shared secret
|
||||
enable_registration = false;
|
||||
|
||||
registration_shared_secret = secrets.keys.matrix.registration-shared-secret;
|
||||
registration_shared_secret_path = config.sops.secrets."matrix_synapse/registration_secret".path;
|
||||
allow_public_rooms_over_federation = true;
|
||||
|
||||
# password_config.enabled = lib.mkForce false;
|
||||
|
Loading…
Reference in New Issue
Block a user