nixos/networkd: use no instead of none for DHCP= option

systemd has deprecated the use of `none` and recommends using `no`
instead.
This commit is contained in:
Andreas Rammhold 2019-05-11 00:10:08 +02:00
parent 4743ad7392
commit a32cd7d84a
No known key found for this signature in database
GPG Key ID: 74908259861E8386

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