prevent bouygues interface unset on switch

This commit is contained in:
nyanloutre 2021-12-22 22:54:44 +01:00
parent 289277f4a4
commit 8ebf479dc1
1 changed files with 4 additions and 1 deletions

View File

@ -112,7 +112,10 @@
}; };
systemd.network.networks = { systemd.network.networks = {
"40-bouygues".dhcpV4Config.RouteMetric = 1; "40-bouygues" = {
dhcpV4Config.RouteMetric = 1;
networkConfig.KeepConfiguration = "dhcp-on-stop";
};
"40-enp0s21u2".dhcpV4Config.RouteMetric = 1024; "40-enp0s21u2".dhcpV4Config.RouteMetric = 1024;
}; };