2021-11-22 13:00:07 +00:00
|
|
|
{ config, ... }:
|
|
|
|
|
|
|
|
{
|
2021-11-22 14:12:43 +00:00
|
|
|
imports = [
|
|
|
|
(builtins.fetchTarball {
|
|
|
|
# Pick a commit from the branch you are interested in
|
2022-02-14 20:30:24 +00:00
|
|
|
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
|
2022-02-15 12:51:54 +00:00
|
|
|
sha256 = "1i56llz037x416bw698v8j6arvv622qc0vsycd20lx3yx8n77n44";
|
2021-11-22 14:12:43 +00:00
|
|
|
})
|
|
|
|
];
|
2021-11-22 13:00:07 +00:00
|
|
|
|
2021-11-22 14:12:43 +00:00
|
|
|
mailserver = {
|
|
|
|
enable = true;
|
|
|
|
fqdn = "nixaalb.org";
|
2022-02-14 20:30:24 +00:00
|
|
|
domains = [ "nixaalb.org" "dotsrc.org"];
|
2021-11-22 13:00:07 +00:00
|
|
|
|
2021-11-22 14:12:43 +00:00
|
|
|
loginAccounts = {
|
2022-02-14 20:30:24 +00:00
|
|
|
"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;
|
2022-02-14 20:30:24 +00:00
|
|
|
};
|
2021-11-22 14:12:43 +00:00
|
|
|
};
|
|
|
|
certificateScheme = 3;
|
|
|
|
};
|
2021-11-22 13:00:07 +00:00
|
|
|
}
|