1<section xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="sec-profile-clone-config">
2 <title>Clone Config</title>
3 <para>
4 This profile is used in installer images. It provides an editable
5 configuration.nix that imports all the modules that were also used
6 when creating the image in the first place. As a result it allows
7 users to edit and rebuild the live-system.
8 </para>
9 <para>
10 On images where the installation media also becomes an installation
11 target, copying over <literal>configuration.nix</literal> should be
12 disabled by setting <literal>installer.cloneConfig</literal> to
13 <literal>false</literal>. For example, this is done in
14 <literal>sd-image-aarch64-installer.nix</literal>.
15 </para>
16</section>