nixos-config/hosts/falkenstein-1/modules/mail/default.nix

18 lines
390 B
Nix
Raw Normal View History

2023-05-24 16:38:35 +02:00
{ config, ... }:
2023-05-24 15:51:58 +02:00
{
2023-05-24 16:37:45 +02:00
sops.secrets."mail/rouven".owner = config.users.users.postfix.name;
mailserver = rec {
2023-05-24 15:51:58 +02:00
enable = true;
fqdn = "mail.rfive.de";
domains = [ "rfive.de" ];
2023-05-24 16:37:45 +02:00
loginAccounts = {
"rouven@rfive.de" = {
name = "Rouven Seifert";
hashedPasswordFile = config.sops.secrets."mail/rouven".path;
};
};
certificateScheme = 3;
2023-05-24 15:51:58 +02:00
};
}