Make doveadm pw the password hasher
This commit is contained in:
parent
b5808fc1ac
commit
14baefae77
1 changed files with 5 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
{ ... }: {
|
||||
{ pkgs, ... }: {
|
||||
services.postfixadmin = {
|
||||
enable = true;
|
||||
adminEmail = "lotte@chir.rs";
|
||||
|
@ -10,6 +10,10 @@
|
|||
};
|
||||
hostName = "mail.chir.rs";
|
||||
setupPasswordFile = "/run/secrets/services/postfixadmin/setupPassword";
|
||||
extraConfig = ''
|
||||
$CONF['encrypt'] = 'dovecot:argon2id';
|
||||
$CONF['dovecotpw'] = '${pkgs.dovecot}/bin/doveadm pw';
|
||||
'';
|
||||
};
|
||||
sops.secrets."services/postfixadmin/dbpassword" = {
|
||||
owner = "postfixadmin";
|
||||
|
|
Loading…
Reference in a new issue