simple nixos mail server
This commit is contained in:
parent
6bee6cb48c
commit
b4298d5f3e
7 changed files with 169 additions and 10 deletions
18
host/roam/mail.nix
Normal file
18
host/roam/mail.nix
Normal 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" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue