fixup config to really use the networkd
This commit is contained in:
parent
624be0a4d0
commit
f452ce64c7
|
@ -91,13 +91,11 @@ in
|
|||
hardware.enableAllFirmware = true;
|
||||
|
||||
# networking via networkd
|
||||
networking.useDHCP = false;
|
||||
systemd.network.enable = true;
|
||||
systemd.network.networks."10-lan" = {
|
||||
networkConfig = {
|
||||
# start a DHCP Client for IPv4 Addressing/Routing
|
||||
DHCP = "ipv4";
|
||||
# accept Router Advertisements for Stateless IPv6 Autoconfiguraton (SLAAC)
|
||||
IPv6AcceptRA = true;
|
||||
DHCP = "yes";
|
||||
};
|
||||
# make routing on this interface a dependency for network-online.target
|
||||
linkConfig.RequiredForOnline = "routable";
|
||||
|
|
Loading…
Reference in a new issue