31 lines
596 B
Nix
31 lines
596 B
Nix
_: {
|
|
networking = {
|
|
useNetworkd = true;
|
|
};
|
|
systemd = {
|
|
network = {
|
|
enable = true;
|
|
wait-online.enable = false;
|
|
networks = {
|
|
"41-ether" = {
|
|
enable = true;
|
|
matchConfig = {
|
|
Type = "ether";
|
|
};
|
|
networkConfig = {
|
|
DHCP = "yes";
|
|
};
|
|
dhcpV4Config = {
|
|
UseDomains = true;
|
|
};
|
|
ipv6AcceptRAConfig = {
|
|
UseDomains = true;
|
|
};
|
|
linkConfig = {
|
|
RequiredForOnline = "yes";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|