···4040 <note>
4141 <para>
4242 If you are switching networks with different proxy configurations, use the
4343- <literal>nesting.clone</literal> option in
4343+ <literal>specialisation</literal> option in
4444 <literal>configuration.nix</literal> to switch proxies at runtime. Refer to
4545 <xref linkend="ch-options" /> for more information.
4646 </para>
+44
nixos/doc/manual/release-notes/rl-2009.xml
···203203 <link xlink:href="https://github.com/gollum/gollum/wiki/5.0-release-notes#migrating-your-wiki">here</link>.
204204 </para>
205205 </listitem>
206206+207207+ <listitem>
208208+ <para>
209209+ The NixOS options <literal>nesting.clone</literal> and
210210+ <literal>nesting.children</literal> have been deleted, and
211211+ replaced with named <xref linkend="opt-specialisation"/>
212212+ configurations.
213213+ </para>
214214+215215+ <para>
216216+ Replace a <literal>nesting.clone</literal> entry with:
217217+218218+<programlisting>{
219219+<link xlink:href="#opt-specialisation">specialisation.example-sub-configuration</link> = {
220220+ <link xlink:href="#opt-specialisation._name_.configuration">configuration</link> = {
221221+ ...
222222+ };
223223+};</programlisting>
224224+225225+ </para>
226226+ <para>
227227+ Replace a <literal>nesting.children</literal> entry with:
228228+229229+<programlisting>{
230230+<link xlink:href="#opt-specialisation">specialisation.example-sub-configuration</link> = {
231231+ <link xlink:href="#opt-specialisation._name_.inheritParentConfig">inheritParentConfig</link> = false;
232232+ <link xlink:href="#opt-specialisation._name_.configuration">configuration</link> = {
233233+ ...
234234+ };
235235+};</programlisting>
236236+ </para>
237237+238238+ <para>
239239+ To switch to a specialised configuration at runtime you need to
240240+ run:
241241+<programlisting>
242242+# sudo /run/current-system/specialisation/example-sub-configuration/bin/switch-to-configuration test
243243+</programlisting>
244244+ Before you would have used:
245245+<programlisting>
246246+# sudo /run/current-system/fine-tune/child-1/bin/switch-to-configuration test
247247+</programlisting>
248248+ </para>
249249+ </listitem>
206250 </itemizedlist>
207251 </section>
208252
···69697070# Add all generations of the system profile to the menu, in reverse
7171# (most recent to least recent) order.
7272-for link in $((ls -d $defaultConfig/fine-tune/* ) | sort -n); do
7272+for link in $((ls -d $defaultConfig/specialisation/* ) | sort -n); do
7373 date=$(stat --printf="%y\n" $link | sed 's/\..*//')
7474 addEntry "NixOS - variation" $link ""
7575done