summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorMaximilian Bosch <maximilian@mbosch.me>2022-04-29 23:45:26 +0200
committerMaximilian Bosch <maximilian@mbosch.me>2022-04-30 00:30:45 +0200
commitcff16bc62507bc0dfbaa1582ad0931be4da006ad (patch)
treee7542a72b7225b101e1734e6b83a6680fb209400 /nixos
parent9c186626125999e917027accc297d1c9b24e1fcb (diff)
downloadnixpkgs-cff16bc62507bc0dfbaa1582ad0931be4da006ad.tar
nixpkgs-cff16bc62507bc0dfbaa1582ad0931be4da006ad.tar.gz
nixpkgs-cff16bc62507bc0dfbaa1582ad0931be4da006ad.tar.bz2
nixpkgs-cff16bc62507bc0dfbaa1582ad0931be4da006ad.tar.lz
nixpkgs-cff16bc62507bc0dfbaa1582ad0931be4da006ad.tar.xz
nixpkgs-cff16bc62507bc0dfbaa1582ad0931be4da006ad.tar.zst
nixpkgs-cff16bc62507bc0dfbaa1582ad0931be4da006ad.zip
nixos/doc: add release-note entry for networking.useDHCP change
Diffstat (limited to 'nixos')
-rw-r--r--nixos/doc/manual/from_md/release-notes/rl-2205.section.xml15
-rw-r--r--nixos/doc/manual/release-notes/rl-2205.section.md7
2 files changed, 22 insertions, 0 deletions
diff --git a/nixos/doc/manual/from_md/release-notes/rl-2205.section.xml b/nixos/doc/manual/from_md/release-notes/rl-2205.section.xml
index 2046e2449cc..aa7be94c331 100644
--- a/nixos/doc/manual/from_md/release-notes/rl-2205.section.xml
+++ b/nixos/doc/manual/from_md/release-notes/rl-2205.section.xml
@@ -2386,6 +2386,21 @@
           hosts.
         </para>
       </listitem>
+      <listitem>
+        <para>
+          The option
+          <link xlink:href="options.html#opt-networking.useDHCP">networking.useDHCP</link>
+          isn’t deprecated anymore. When using
+          <link xlink:href="options.html#opt-networking.useNetworkd"><literal>systemd-networkd</literal></link>,
+          a generic <literal>.network</literal>-unit is added which
+          enables DHCP for each interface matching
+          <literal>en*</literal>, <literal>eth*</literal> or
+          <literal>wl*</literal> with priority 99 (which means that it
+          doesn’t have any effect if such an interface is matched by a
+          <literal>.network-</literal>unit with a lower priority). In
+          case of scripted networking, no behavior was changed.
+        </para>
+      </listitem>
     </itemizedlist>
   </section>
 </section>
diff --git a/nixos/doc/manual/release-notes/rl-2205.section.md b/nixos/doc/manual/release-notes/rl-2205.section.md
index 9674eb66a4c..aefe6286931 100644
--- a/nixos/doc/manual/release-notes/rl-2205.section.md
+++ b/nixos/doc/manual/release-notes/rl-2205.section.md
@@ -846,4 +846,11 @@ In addition to numerous new and upgraded packages, this release has the followin
   `true` starting with NixOS 22.11. Enable it explicitly if you need to control
   Snapserver remotely or connect streamig clients from other hosts.
 
+- The option [networking.useDHCP](options.html#opt-networking.useDHCP) isn't deprecated anymore.
+  When using [`systemd-networkd`](options.html#opt-networking.useNetworkd), a generic
+  `.network`-unit is added which enables DHCP for each interface matching `en*`, `eth*`
+  or `wl*` with priority 99 (which means that it doesn't have any effect if such an interface is matched
+  by a `.network-`unit with a lower priority). In case of scripted networking, no behavior
+  was changed.
+
 <!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. -->