Skip to content
Snippets Groups Projects
Verified Commit 51ba5e6c authored by Nicolas Lenz's avatar Nicolas Lenz :snowflake:
Browse files

wip

parent a1e2a33e
Branches container-test
No related tags found
No related merge requests found
{ ... }:
{
systemd.network = {
netdevs."09-test".netdevConfig = {
Kind = "bridge";
Name = "br-test";
};
networks."09-test" = {
matchConfig.Name = "br-test";
DHCP = "no";
address = [ "10.77.0.1/16" ];
};
};
containers.test = {
privateNetwork = true;
localAddress = "10.77.1.1/16";
#localAddress6 = "";
#hostAddress = "";
#hostAddress6 = "";
#interfaces = "";
hostBridge = "br-test";
# forwardPorts
# extraVeths
autoStart = true;
ephemeral = true; # journal not linked?
config = {};
};
}
......@@ -10,6 +10,7 @@ modules for my services, only used on sapphire, my homeserver
./auth.nix
./away.nix
./cloud.nix
./containers.nix
./dashboard.nix
./days.nix
./data.nix
......@@ -96,6 +97,6 @@ modules for my services, only used on sapphire, my homeserver
enable = true;
enableIPv6 = true;
externalInterface = "wired0";
internalInterfaces = [ "br-microvm" ];
internalInterfaces = [ "br-microvm" "br-test" ];
};
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment