added mailcow
This commit is contained in:
parent
7ac599ce91
commit
0382bb8748
1 changed files with 13 additions and 0 deletions
13
config/services/mailcow.nix
Normal file
13
config/services/mailcow.nix
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
{ pkgs, ... }: {
|
||||||
|
networking.firewall.allowedTCPPorts = [ 25 110 143 465 587 993 995 4190 ];
|
||||||
|
environment.systemPackages = [ pkgs.docker-compose ];
|
||||||
|
virtualisation.docker = {
|
||||||
|
enable = true;
|
||||||
|
daemon.settings = {
|
||||||
|
ipv6 = true;
|
||||||
|
fixed-cidr-v6 = "fd00:dead:beef:c0::/80";
|
||||||
|
experimental = true;
|
||||||
|
ip6tables = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue