fixing sops problems
This commit is contained in:
parent
e21de00663
commit
2188c93177
2 changed files with 6 additions and 6 deletions
|
@ -87,7 +87,7 @@ in
|
|||
name = "${portunusGroup}";
|
||||
members = [
|
||||
"${portunusUser}"
|
||||
#config.systemd.services."matrix-synapse".serviceConfig.User
|
||||
config.systemd.services."matrix-synapse".serviceConfig.User
|
||||
config.systemd.services.sogo.serviceConfig.User
|
||||
config.systemd.services.hedgedoc.serviceConfig.User
|
||||
config.systemd.services.mailman.serviceConfig.User
|
||||
|
|
|
@ -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.matrix_ldap_search.path}
|
||||
bind_password_file: ${config.sops.secrets."portunus/users/search-password".path}
|
||||
'';
|
||||
})
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue