add lxc specific configuration for incus

This commit is contained in:
Jermeiah S 2025-06-14 06:40:14 -04:00
parent 40fac75e36
commit a038b7c80c
No known key found for this signature in database

View file

@ -0,0 +1,21 @@
{
systemd.network = {
enable = true;
networks."50-eth0" = {
matchConfig.Name = "eth0";
networkConfig = {
DHCP = "ipv4";
IPv6AcceptRA = true;
};
linkConfig.RequiredForOnline = "routable";
};
};
networking = {
dhcpcd.enable = false;
useDHCP = false;
useHostResolvConf = false;
};
}