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}";
|
name = "${portunusGroup}";
|
||||||
members = [
|
members = [
|
||||||
"${portunusUser}"
|
"${portunusUser}"
|
||||||
#config.systemd.services."matrix-synapse".serviceConfig.User
|
config.systemd.services."matrix-synapse".serviceConfig.User
|
||||||
config.systemd.services.sogo.serviceConfig.User
|
config.systemd.services.sogo.serviceConfig.User
|
||||||
config.systemd.services.hedgedoc.serviceConfig.User
|
config.systemd.services.hedgedoc.serviceConfig.User
|
||||||
config.systemd.services.mailman.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;
|
# matrix-synapse-ldap3 = config.services.matrix-synapse.package.plugins.matrix-synapse-ldap3;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
sops.secrets.matrix_ldap_search = {
|
#sops.secrets.matrix_ldap_search = {
|
||||||
key = "portunus/users/search-password";
|
# key = "portunus/users/search-password";
|
||||||
owner = config.systemd.services.matrix-synapse.serviceConfig.User;
|
# owner = config.systemd.services.matrix-synapse.serviceConfig.User;
|
||||||
};
|
#};
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
postgresql = {
|
postgresql = {
|
||||||
|
@ -109,7 +109,7 @@ in
|
||||||
mail: uid
|
mail: uid
|
||||||
name: cn
|
name: cn
|
||||||
bind_dn: uid=search,ou=users,${portunus.ldap.suffix}
|
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