nixos-dotfiles/hosts/hypnos/services/mail-server.nix

31 lines
698 B
Nix
Raw Normal View History

inputs: { config, pkgs, ... }: {
imports = [
inputs.mailserver.nixosModules.default
];
mailserver = {
enable = true;
fqdn = "mail.gra.phite.ro";
domains = [ "gra.phite.ro" ];
loginAccounts = {
"alex@gra.phite.ro" = {
aliases = [
"postmaster@gra.phite.ro"
"ultra@gra.phite.ro"
"graphite@gra.phite.ro"
"me@gra.phite.ro"
"webmaster@gra.phite.ro"
"security@gra.phite.ro"
];
hashedPasswordFile = "/home/ultra/hashed_mail_password.txt";
};
};
certificateScheme = "acme-nginx";
};
security.acme = {
acceptTerms = true;
email = "security@gra.phite.ro";
};
}