Skip to content

Commit

Permalink
nixos doc: give context and definition re NIXOS_LUSTRATE
Browse files Browse the repository at this point in the history
  • Loading branch information
obadz committed Mar 7, 2018
1 parent 6b97544 commit ee9a785
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions nixos/doc/manual/installation/installing-from-other-distro.xml
Expand Up @@ -227,6 +227,18 @@ $ sudo groupdel nixbld</screen>
line)</para></listitem>
</itemizedlist>

<note><para>Support for <literal>NIXOS_LUSTRATE</literal> was added
in NixOS 16.09. The act of "lustrating" refers to the
wiping of the existing distribution. Creating
<literal>/etc/NIXOS_LUSTRATE</literal> can also be used on
NixOS to remove all mutable files from your root partition
(anything that's not in <literal>/nix</literal> or
<literal>/boot</literal> gets "lustrated" on the next
boot.</para>
<para>lustrate /ˈlʌstreɪt/ verb.</para>
<para>purify by expiatory sacrifice, ceremonial washing, or
some other ritual action.</para></note>

<para>Let's create the files:</para>

<screen>
Expand Down

0 comments on commit ee9a785

Please sign in to comment.