quasar/mailserver.nix

22 lines
438 B
Nix
Raw Permalink Normal View History

2024-09-02 14:06:24 +02:00
{ base-domain, ... }:
let
fqdn = "mail.${base-domain}";
in
{
mailserver = {
enable = false;
debug = true;
2024-09-02 14:06:24 +02:00
inherit fqdn;
domains = [ base-domain ];
loginAccounts = {
"khais.colin@${base-domain}" = {
# nix-shell -p mkpasswd --run 'mkpasswd -sm bcrypt'
hashedPasswordFile = "/etc/nixos/secrets/mailserver/khais.colin.hashpassword";
};
};
certificateScheme = "acme-nginx";
};
}