From 0382bb8748afc84afb63531418c0bf0af1c10deb Mon Sep 17 00:00:00 2001 From: emily Date: Mon, 6 May 2024 20:43:11 +0200 Subject: [PATCH] added mailcow --- config/services/mailcow.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 config/services/mailcow.nix diff --git a/config/services/mailcow.nix b/config/services/mailcow.nix new file mode 100644 index 0000000..2c844e4 --- /dev/null +++ b/config/services/mailcow.nix @@ -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; + }; + }; +}