nixos/network: replace deprecated DHCP=both by DHCP=yes

This commit is contained in:
Roman Volosatovs 2019-09-24 11:33:31 +02:00
parent 6e8db5d67f
commit a0a3675bdf
No known key found for this signature in database
GPG key ID: 2660C5FDCEBE6F87

View file

@ -12,7 +12,7 @@ let
i.ipv4.addresses
++ optionals cfg.enableIPv6 i.ipv6.addresses;
dhcpStr = useDHCP: if useDHCP == true || useDHCP == null then "both" else "no";
dhcpStr = useDHCP: if useDHCP == true || useDHCP == null then "yes" else "no";
slaves =
concatLists (map (bond: bond.interfaces) (attrValues cfg.bonds))