mail2-nixos-config/mailserver.nix

21 lines
507 B
Nix
Raw Normal View History

2019-05-10 23:21:28 +02:00
{ config, pkgs, ... }:
{
# Import some configuration as they are too long to be easily readable here
imports = [
#./dovecot.nix
#./postfix.nix
#./postfixadmin.nix
#./roundcube.nix
#./rspamd.nix
2022-01-02 19:51:59 +01:00
(import (import ./nix/sources.nix).nixos-mailserver)
2019-05-10 23:21:28 +02:00
];
networking.domain = "hamburg.freifunk.net";
services.mymailserver = {
enable = true;
logging = false;
adminAddress = "postmaster@mail.hamburg.freifunk.net";
mailFQDN = "mail2.hamburg.freifunk.net";
};
2019-05-10 23:21:28 +02:00
}