refactor and fix stuff

This commit is contained in:
Lyn Fugmann 2023-06-11 00:30:36 +02:00
parent a7c23f9b88
commit e26a50a704
Signed by: fugi
GPG key ID: 4472A20091BFA792
4 changed files with 46 additions and 100 deletions

View file

@ -24,10 +24,10 @@ let
# matrix-synapse-ldap3 = config.services.matrix-synapse.package.plugins.matrix-synapse-ldap3;
in
{
#sops.secrets.matrix_ldap_search = {
# key = "portunus/users/search-password";
# owner = config.systemd.services.matrix-synapse.serviceConfig.User;
#};
sops.secrets.matrix_ldap_search = {
key = "portunus/users/search-password";
owner = config.systemd.services.matrix-synapse.serviceConfig.User;
};
services = {
postgresql = {
@ -109,7 +109,7 @@ in
mail: uid
name: cn
bind_dn: uid=search,ou=users,${portunus.ldap.suffix}
bind_password_file: ${config.sops.secrets."portunus/users/search-password".path}
bind_password_file: ${config.sops.secrets.matrix_ldap_search.path}
'';
})
];