Skip to content

Commit

Permalink
nixos/network: replace deprecated DHCP=both by DHCP=yes
Browse files Browse the repository at this point in the history
  • Loading branch information
rvolosatovs committed Sep 24, 2019
1 parent 6e8db5d commit a0a3675
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/modules/tasks/network-interfaces-systemd.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit a0a3675

Please sign in to comment.