19 lines
337 B
Nix
19 lines
337 B
Nix
|
{config, ...}: {
|
||
|
networking = {
|
||
|
bridges.containers.interfaces = ["container-root"];
|
||
|
interfaces = {
|
||
|
container-root = {
|
||
|
virtual = true;
|
||
|
};
|
||
|
containers = {
|
||
|
ipv6.addresses = [
|
||
|
{
|
||
|
address = "fc00::1";
|
||
|
prefixLength = 64;
|
||
|
}
|
||
|
];
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|