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

wip/yesman
Roman Volosatovs 5 years ago
parent 6e8db5d67f
commit a0a3675bdf
No known key found for this signature in database
GPG Key ID: 2660C5FDCEBE6F87
  1. 2
      nixos/modules/tasks/network-interfaces-systemd.nix

@ -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…
Cancel
Save