diff options
author | Roman Volosatovs <rvolosatovs@riseup.net> | 2019-09-24 11:33:31 +0200 |
---|---|---|
committer | Roman Volosatovs <rvolosatovs@riseup.net> | 2019-09-24 11:33:36 +0200 |
commit | a0a3675bdf2065a8305020f30dc157138bdfe4f1 (patch) | |
tree | 99b87754b22e8f522fb1e4ce8113c457d1517fea /nixos/modules | |
parent | 6e8db5d67f1c996b729bedfb96a74175ae064dbb (diff) | |
download | nixpkgs-a0a3675bdf2065a8305020f30dc157138bdfe4f1.tar nixpkgs-a0a3675bdf2065a8305020f30dc157138bdfe4f1.tar.gz nixpkgs-a0a3675bdf2065a8305020f30dc157138bdfe4f1.tar.bz2 nixpkgs-a0a3675bdf2065a8305020f30dc157138bdfe4f1.tar.lz nixpkgs-a0a3675bdf2065a8305020f30dc157138bdfe4f1.tar.xz nixpkgs-a0a3675bdf2065a8305020f30dc157138bdfe4f1.tar.zst nixpkgs-a0a3675bdf2065a8305020f30dc157138bdfe4f1.zip |
nixos/network: replace deprecated DHCP=both by DHCP=yes
Diffstat (limited to 'nixos/modules')
-rw-r--r-- | nixos/modules/tasks/network-interfaces-systemd.nix | 2 |
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)) |