nixfiles/hosts/hetzner-vm/profiles/mailserver.nix
2022-11-17 12:06:16 +00:00

29 lines
664 B
Nix

{ config, ... }:
let secrets = config.services.secrets.secrets;
in {
config.mailserver = {
enable = true;
fqdn = "mail.owo.monster";
domains = [ "owo.monster" "kitteh.pw" ];
debug_mode = false;
accounts = {
"chaoticryptidz@owo.monster" = {
name = "chaoticryptidz@owo.monster";
passwordFile = "${secrets.chaos_mail_passwd.path}";
aliases = [
"all@owo.monster"
# for sending from
"chaos@owo.monster"
# TODO: legacy - to be deprecated by 2023-01-01
"kitteh@owo.monster"
"kitteh@kitteh.pw"
];
sieveScript = null;
};
};
};
}