2018-10-25 09:17:07 +01:00
|
|
|
<section xmlns="http://docbook.org/ns/docbook"
|
|
|
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
|
|
xmlns:xi="http://www.w3.org/2001/XInclude"
|
|
|
|
version="5.0"
|
|
|
|
xml:id="sec-profile-clone-config">
|
|
|
|
<title>Clone Config</title>
|
2019-03-22 13:44:11 +00:00
|
|
|
|
2018-10-25 09:17:07 +01:00
|
|
|
<para>
|
2019-09-19 18:17:30 +01:00
|
|
|
This profile is used in installer images. It provides an editable
|
|
|
|
configuration.nix that imports all the modules that were also used when
|
|
|
|
creating the image in the first place. As a result it allows users to edit
|
|
|
|
and rebuild the live-system.
|
2018-10-25 09:17:07 +01:00
|
|
|
</para>
|
2019-08-18 01:03:58 +01:00
|
|
|
|
|
|
|
<para>
|
2019-09-19 18:17:30 +01:00
|
|
|
On images where the installation media also becomes an installation target,
|
|
|
|
copying over <literal>configuration.nix</literal> should be disabled by
|
|
|
|
setting <literal>installer.cloneConfig</literal> to <literal>false</literal>.
|
2021-02-21 20:16:51 +00:00
|
|
|
For example, this is done in <literal>sd-image-aarch64-installer.nix</literal>.
|
2019-08-18 01:03:58 +01:00
|
|
|
</para>
|
2018-10-25 09:17:07 +01:00
|
|
|
</section>
|