mirror of
https://codeberg.org/ultra/nixos-dotfiles.git
synced 2024-11-14 19:53:07 +02:00
31 lines
698 B
Nix
31 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";
|
||
|
};
|
||
|
|
||
|
}
|