1
0
Fork 0

hosts/mail-2: enable IPv6 in docker

This commit is contained in:
clerie 2023-05-21 09:41:32 +02:00
parent dd20c29c70
commit 22ed8fff6e
1 changed files with 11 additions and 1 deletions

View File

@ -1,10 +1,20 @@
{ pkgs, ... }: { pkgs, ... }:
{ {
virtualisation.docker.enable = true; virtualisation.docker = {
enable = true;
daemon.settings = {
# make sure IPv6 is enabled, else there will be long loading times everywhere
ipv6 = true;
fixed-cidr-v6 = "fd00:dead:beef:c0::/80";
experimental = true;
ip6tables = true;
};
};
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
docker-compose docker-compose
openssl openssl
]; ];
} }