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 = [
|
imports = [
|
||||||
./bridges/matrix-appservice-irc.nix
|
./bridges/matrix-appservice-irc.nix
|
||||||
|
|
||||||
@ -9,6 +8,12 @@
|
|||||||
./coturn.nix
|
./coturn.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
sops.secrets."matrix_synapse/registration_secret" = {
|
||||||
|
owner = "matrix-synapse";
|
||||||
|
group = "matrix-synapse";
|
||||||
|
mode = "0440";
|
||||||
|
};
|
||||||
|
|
||||||
services.matrix-synapse-next = {
|
services.matrix-synapse-next = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableNginx = true;
|
enableNginx = true;
|
||||||
@ -58,7 +63,7 @@
|
|||||||
# with the registration shared secret
|
# with the registration shared secret
|
||||||
enable_registration = false;
|
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;
|
allow_public_rooms_over_federation = true;
|
||||||
|
|
||||||
# password_config.enabled = lib.mkForce false;
|
# password_config.enabled = lib.mkForce false;
|
||||||
|
Loading…
Reference in New Issue
Block a user