about summary refs log tree commit diff
path: root/nixos/doc/manual
diff options
context:
space:
mode:
authorobadz <obadz-git@obadz.com>2018-03-07 01:21:42 +0000
committerobadz <obadz-git@obadz.com>2018-03-07 01:23:20 +0000
commitee9a785c30c1bbc58ed77bd9c08e3cc208727572 (patch)
treef1f45f462696e7d9b351058701c70ce4e1e0a8f2 /nixos/doc/manual
parent6b97544481160d8552e24e3ce31dfb13942712d0 (diff)
downloadnixlib-ee9a785c30c1bbc58ed77bd9c08e3cc208727572.tar
nixlib-ee9a785c30c1bbc58ed77bd9c08e3cc208727572.tar.gz
nixlib-ee9a785c30c1bbc58ed77bd9c08e3cc208727572.tar.bz2
nixlib-ee9a785c30c1bbc58ed77bd9c08e3cc208727572.tar.lz
nixlib-ee9a785c30c1bbc58ed77bd9c08e3cc208727572.tar.xz
nixlib-ee9a785c30c1bbc58ed77bd9c08e3cc208727572.tar.zst
nixlib-ee9a785c30c1bbc58ed77bd9c08e3cc208727572.zip
nixos doc: give context and definition re NIXOS_LUSTRATE
Re #36272
Diffstat (limited to 'nixos/doc/manual')
-rw-r--r--nixos/doc/manual/installation/installing-from-other-distro.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/nixos/doc/manual/installation/installing-from-other-distro.xml b/nixos/doc/manual/installation/installing-from-other-distro.xml
index 556238988274..ecd020a067a9 100644
--- a/nixos/doc/manual/installation/installing-from-other-distro.xml
+++ b/nixos/doc/manual/installation/installing-from-other-distro.xml
@@ -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>