aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoman Volosatovs <rvolosatovs@riseup.net>2019-09-24 11:33:31 +0200
committerRoman Volosatovs <rvolosatovs@riseup.net>2019-09-24 11:33:36 +0200
commita0a3675bdf2065a8305020f30dc157138bdfe4f1 (patch)
tree99b87754b22e8f522fb1e4ce8113c457d1517fea
parent6e8db5d67f1c996b729bedfb96a74175ae064dbb (diff)
nixos/network: replace deprecated DHCP=both by DHCP=yes
-rw-r--r--nixos/modules/tasks/network-interfaces-systemd.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/tasks/network-interfaces-systemd.nix b/nixos/modules/tasks/network-interfaces-systemd.nix
index 34e27066715..7c6604922cf 100644
--- a/nixos/modules/tasks/network-interfaces-systemd.nix
+++ b/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))