manage ethernet if exists

This commit is contained in:
Adithya 2023-08-19 23:40:39 +05:30
parent 4966cec1e1
commit f4ee1ff86c
Signed by: adtya
GPG key ID: 48FC9915FFD326D0

View file

@ -21,6 +21,21 @@
systemd.network = { systemd.network = {
enable = true; enable = true;
networks = { networks = {
"41-ether" = {
enable = true;
matchConfig = {
Type = "ether";
};
networkConfig = {
DHCP = "yes";
};
dhcpV4Config = {
UseDomains = true;
};
ipv6AcceptRAConfig = {
UseDomains = true;
};
};
"40-wireless" = { "40-wireless" = {
enable = true; enable = true;
matchConfig = { matchConfig = {