simple nixos mail server

This commit is contained in:
Henri Dohmen 2026-01-29 23:40:11 +01:00
parent 6bee6cb48c
commit b4298d5f3e
Signed by: hd
GPG key ID: AB79213B044674AE
7 changed files with 169 additions and 10 deletions

18
host/roam/mail.nix Normal file
View file

@ -0,0 +1,18 @@
{ inputs, config, ... }:
{
imports = [ inputs.simple-nixos-mailserver.nixosModule ];
mailserver = {
enable = true;
stateVersion = 3;
fqdn = "roam.hdohmen.de";
x509.useACMEHost = config.mailserver.fqdn;
domains = [ "hdohmen.de" ];
loginAccounts = {
"hd@hdohmen.de" = {
hashedPassword = "$y$j9T$ThusPQJOPsUxfJrO6T6kN/$4hoobYwjhxSLo.f8uWg7DZu7gHtRlUt.nfiDC5xN2w2";
aliases = [ "hd@hdohmen.de" ];
};
};
};
}