summary refs log tree commit diff
path: root/nixos/doc/manual/from_md/configuration/profiles/clone-config.section.xml
blob: 9430b49ea33d04126f65f4af01423664b5ffad91 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<section xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="sec-profile-clone-config">
  <title>Clone Config</title>
  <para>
    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.
  </para>
  <para>
    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>. For example, this is done in
    <literal>sd-image-aarch64-installer.nix</literal>.
  </para>
</section>