mirror of
https://codeberg.org/ultra/nixos-dotfiles.git
synced 2024-11-23 06:03:08 +02:00
30 lines
698 B
Nix
30 lines
698 B
Nix
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";
|
|
};
|
|
|
|
}
|