mail fix secret
This commit is contained in:
parent
8be0cce54a
commit
cf5b1d32bc
1 changed files with 0 additions and 4 deletions
|
|
@ -232,10 +232,6 @@ in
|
|||
params.dovecot2 = { };
|
||||
};
|
||||
|
||||
sops.secrets.dovecot-ldap-password = {
|
||||
sopsFile = ./openldap/secrets.yaml;
|
||||
};
|
||||
|
||||
systemd.services.dovecot2.preStart = ''
|
||||
sed -e "s/@ldap-password@/$(cat ${config.sops.secrets.dovecot-ldap-password.path})/" ${ldapConfig} > /run/dovecot2/ldap.conf
|
||||
'';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue