manage ethernet if exists
This commit is contained in:
parent
4966cec1e1
commit
f4ee1ff86c
1 changed files with 15 additions and 0 deletions
|
@ -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 = {
|
||||||
|
|
Loading…
Reference in a new issue