hosts/mail-2: enable IPv6 in docker
This commit is contained in:
parent
dd20c29c70
commit
22ed8fff6e
@ -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
|
||||||
];
|
];
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user