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:
parent
4743ad7392
commit
a32cd7d84a
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user