updated synape personalizatoin configuration

This commit is contained in:
naturallaw77 2024-12-16 20:49:00 -08:00
parent 66cecf6a03
commit d77f3e4873
2 changed files with 13 additions and 2 deletions

View File

@ -292,6 +292,17 @@ in
};
};
###### AGENIX ######
age.identityPaths = [ "/root/.ssh/agenix/agenix-secret-keys" ];
age.secrets.matrix_reg_secret = {
file = /var/lib/agenix-secrets/matrix_reg_secret.age;
mode = "770";
owner = "matrix-synapse";
group = "matrix-synapse";
};
###### CREATE DATABASE (WORDPRESS, MATRIX_SYNAPSE, AND NEXTCLOUD) #######

View File

@ -50,7 +50,7 @@ in
];
presence.enabled = true;
enable_registration = false;
registration_shared_secret = services.matrix-synapse.extraConfigFiles = /var/lib/secrets/matrix_reg_secret;
registration_shared_secret = config.age.secrets.matrix_reg_secret.path;
listeners = [
{
port = 8008;