Prioritize ethernet over WiFi
This commit is contained in:
parent
bdc3d38f38
commit
c42d36bb5e
|
@ -21,6 +21,10 @@
|
|||
};
|
||||
systemd.services."systemd-networkd-wait-online".enable = false;
|
||||
|
||||
# Prioritize ethernet over WiFi
|
||||
systemd.network.networks."40-enp0s31f6".dhcpV4Config.RouteMetric = 10;
|
||||
systemd.network.networks."40-wlan0".dhcpV4Config.RouteMetric = 20;
|
||||
|
||||
# Static IP for home network
|
||||
systemd.network.networks."24-home" = {
|
||||
name = "wlan0";
|
||||
|
|
Loading…
Reference in New Issue