aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Gloster <mail@glob.in>2019-09-24 14:14:30 +0200
committerGitHub <noreply@github.com>2019-09-24 14:14:30 +0200
commit6b87fb6df22a0e9527cc862965d63efed8a1d042 (patch)
tree59462a7b29f94f039893f19c5631a8357ebaf71f
parent6a17945355147705ff13d87831277aa0e2203733 (diff)
parenta0a3675bdf2065a8305020f30dc157138bdfe4f1 (diff)
Merge pull request #69346 from rvolosatovs/fix/systemd-dhcp
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))