nixos/config/hosts/capetillo/services/mail.nix

36 lines
1 KiB
Nix
Raw Permalink Normal View History

{ config, ... }:
{
2021-11-22 14:12:43 +00:00
imports = [
(builtins.fetchTarball {
# Pick a commit from the branch you are interested in
url = "https://gitlab.com/simple-nixos-mailserver/nixos-mailserver/-/archive/6e3a7b2ea6f0d68b82027b988aa25d3423787303/nixos-mailserver-6e3a7b2ea6f0d68b82027b988aa25d3423787303.tar.gz";
2021-11-22 14:12:43 +00:00
# And set its hash
sha256 = "1i56llz037x416bw698v8j6arvv622qc0vsycd20lx3yx8n77n44";
2021-11-22 14:12:43 +00:00
})
];
2021-11-22 14:12:43 +00:00
mailserver = {
enable = true;
fqdn = "nixaalb.org";
domains = [ "nixaalb.org" "dotsrc.org"];
2021-11-22 14:12:43 +00:00
loginAccounts = {
"emelie@nixaalb.org" = {
hashedPasswordFile = config.secrets.files.mail_emelie_nixaalb_org.file;
aliases = [ "admin@nixaalb.org" ];
};
"sebastian@nixaalb.org" = {
hashedPasswordFile = config.secrets.files.mail_sebastian_nixaalb_org.file;
};
"noreply@anarkafem.dev" = {
hashedPasswordFile = config.secrets.files.mail_noreply_anarkafem_dev.file;
};
"noreply@dotsrc.org" = {
2022-02-14 20:48:54 +00:00
hashedPasswordFile = config.secrets.files.mail_noreply_dotsrc_org.file;
};
2021-11-22 14:12:43 +00:00
};
certificateScheme = 3;
};
}