fix drone to podman and add dovecot secret
This commit is contained in:
parent
41c343c336
commit
d1437de4b1
3 changed files with 28 additions and 14 deletions
|
|
@ -232,6 +232,8 @@ in
|
|||
params.dovecot2 = { };
|
||||
};
|
||||
|
||||
sops.secrets.dovecot-ldap-password = { };
|
||||
|
||||
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