mirror of
https://gitlab.com/simple-nixos-mailserver/nixos-mailserver.git
synced 2024-12-27 23:46:43 +01:00
28 lines
645 B
Nix
28 lines
645 B
Nix
{
|
|
network.description = "mail server";
|
|
|
|
mailserver =
|
|
{ config, pkgs, ... }:
|
|
{
|
|
imports = [
|
|
./../default.nix
|
|
];
|
|
|
|
mailserver = {
|
|
enable = true;
|
|
domain = "example.com";
|
|
|
|
hostPrefix = "mail";
|
|
loginAccounts = {
|
|
user1 = {
|
|
hashedPassword = "$6$/z4n8AQl6K$kiOkBTWlZfBd7PvF5GsJ8PmPgdZsFGN1jPGZufxxr60PoR0oUsrvzm2oQiflyz5ir9fFJ.d/zKm/NgLXNUsNX/";
|
|
};
|
|
};
|
|
virtualAliases = {
|
|
info = "user1";
|
|
postmaster = "user1";
|
|
abuse = "user1";
|
|
};
|
|
};
|
|
};
|
|
}
|