fix drone to podman and add dovecot secret

This commit is contained in:
2023-11-27 00:48:55 +01:00
parent 41c343c336
commit d1437de4b1
3 changed files with 28 additions and 14 deletions

View File

@@ -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
'';