mirror of
https://git.lgmrszd.xyz/Lgmrszd/nix-cfg.git
synced 2024-12-22 16:09:50 +01:00
vps1: mailserver: fix certs, add hashed passwords
This commit is contained in:
parent
39e630f12a
commit
264a6ba126
1 changed files with 13 additions and 1 deletions
|
@ -13,7 +13,17 @@ in
|
|||
domain
|
||||
gitDomain
|
||||
];
|
||||
certificateScheme = "acme";
|
||||
|
||||
# certificateScheme = "acme";
|
||||
# Cannot be used since it uses fqdn
|
||||
certificateScheme = "manual";
|
||||
certificateFile = "${config.security.acme.certs.${rootDomain}.directory}/fullchain.pem";
|
||||
keyFile = "${config.security.acme.certs.${rootDomain}.directory}/key.pem";
|
||||
security.acme.certs."${rootDomain}".reloadServices = [
|
||||
"postfix.service"
|
||||
"dovecot2.service"
|
||||
];
|
||||
|
||||
|
||||
enableManageSieve = true;
|
||||
indexDir = "/var/lib/dovecot/indices";
|
||||
|
@ -26,11 +36,13 @@ in
|
|||
"postmaster@${rootDomain}"
|
||||
"abuse@${rootDomain}"
|
||||
];
|
||||
hashedPassword = "$2b$05$E18a4pSMfEmd.mfVGQEJe.JBTS3jxdf6yLDZdOQNIs9NrNMc5K.cK";
|
||||
};
|
||||
"forgejo@${rootDomain}" = {
|
||||
aliases = [
|
||||
"@${gitDomain}"
|
||||
];
|
||||
hashedPassword = "$2b$05$IlDxRGJ6vOUjDIq0hfCd3uIVLQw0oodRU1cG8pKueO1BgaIfpUYPS";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue