From ee9a785c30c1bbc58ed77bd9c08e3cc208727572 Mon Sep 17 00:00:00 2001 From: obadz Date: Wed, 7 Mar 2018 01:21:42 +0000 Subject: [PATCH] nixos doc: give context and definition re NIXOS_LUSTRATE Re #36272 --- .../installation/installing-from-other-distro.xml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/nixos/doc/manual/installation/installing-from-other-distro.xml b/nixos/doc/manual/installation/installing-from-other-distro.xml index 55623898827..ecd020a067a 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 line) + Support for NIXOS_LUSTRATE was added + in NixOS 16.09. The act of "lustrating" refers to the + wiping of the existing distribution. Creating + /etc/NIXOS_LUSTRATE can also be used on + NixOS to remove all mutable files from your root partition + (anything that's not in /nix or + /boot gets "lustrated" on the next + boot. + lustrate /ˈlʌstreɪt/ verb. + purify by expiatory sacrifice, ceremonial washing, or + some other ritual action. + Let's create the files: