nixos/network: replace deprecated DHCP=both by DHCP=yes
This commit is contained in:
parent
6e8db5d67f
commit
a0a3675bdf
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue