aboutsummaryrefslogtreecommitdiff
path: root/doc/manual
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2012-07-23 15:02:52 -0400
committerEelco Dolstra <eelco.dolstra@logicblox.com>2012-07-23 17:14:15 -0400
commit619310571002fc74e428824bd603604d1055b61b (patch)
tree6292457190b40d41e2f5a3c2504d77edab8d4057 /doc/manual
parent564fb7d9fa80d06397a88d69f26439727cb922c5 (diff)
Automatically optimise the Nix store when a new path is added
Auto-optimisation is enabled by default. It can be turned off by setting auto-optimise-store to false in nix.conf.
Diffstat (limited to 'doc/manual')
-rw-r--r--doc/manual/conf-file.xml15
1 files changed, 14 insertions, 1 deletions
diff --git a/doc/manual/conf-file.xml b/doc/manual/conf-file.xml
index 1b19e56b5..c095a001c 100644
--- a/doc/manual/conf-file.xml
+++ b/doc/manual/conf-file.xml
@@ -337,7 +337,20 @@ build-use-chroot = /dev /proc /bin</programlisting>
<literal>true</literal>.</para></listitem>
</varlistentry>
-
+
+
+ <varlistentry><term><literal>auto-optimise-store</literal></term>
+
+ <listitem><para>If set to <literal>true</literal> (the default),
+ Nix automatically detects files in the store that have identical
+ contents, and replaces them with hard links to a single copy.
+ This saves disk space. If set to <literal>false</literal>, you
+ can still run <command>nix-store --optimise</command> to get rid
+ of duplicate files.</para></listitem>
+
+ </varlistentry>
+
+
</variablelist>
</para>