Enable the relevant config option and move to new network with an explicit IPv6, because otherwise there's no default v6 route and v6 in the Docker containers doesn't work.
16 lines
269 B
Nix
16 lines
269 B
Nix
# Sources for this configuration:
|
|
# - https://nixos.wiki/wiki/Docker
|
|
{ config, pkgs, ... }:
|
|
|
|
{
|
|
virtualisation.docker = {
|
|
enable = true;
|
|
autoPrune = {
|
|
enable = true;
|
|
dates = "weekly";
|
|
};
|
|
daemon.settings = {
|
|
ipv6 = true;
|
|
};
|
|
};
|
|
}
|