tsuki/matrix: remove usage of secrets module

This commit is contained in:
Oystein Kristoffer Tveit 2024-11-28 23:49:50 +01:00
parent 8ef308d3e6
commit 908c48be89
Signed by: oysteikt
GPG Key ID: 9F2F7D8250F35146

View File

@ -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;