26 lines
699 B
Nix
26 lines
699 B
Nix
|
{ config, ... }:
|
||
|
{
|
||
|
imports = [
|
||
|
(builtins.fetchTarball {
|
||
|
# Pick a commit from the branch you are interested in
|
||
|
url = "https://gitlab.com/simple-nixos-mailserver/nixos-mailserver/-/archive/6e8142862f23ab99e1cc57838c02b733361e8d50/nixos-mailserver-6e8142862f23ab99e1cc57838c02b733361e8d50.tar.gz";
|
||
|
# And set its hash
|
||
|
sha256 = "19qzp8131pid4m3llb6w2v4ayxh25016fpv8yw6wnqng9yvigcw5";
|
||
|
})
|
||
|
];
|
||
|
|
||
|
mailserver = {
|
||
|
enable = true;
|
||
|
fqdn = "anarkafem.dev";
|
||
|
domains = [ "anarkafem.dev" ];
|
||
|
loginAccounts = {
|
||
|
"noreply@anarkafem.dev" = {
|
||
|
hashedPasswordFile = config.secrets.files.email_noreply.file;
|
||
|
|
||
|
};
|
||
|
};
|
||
|
certificateScheme = 3;
|
||
|
};
|
||
|
}
|
||
|
|