about summary refs log tree commit diff
path: root/common.nix
diff options
context:
space:
mode:
authoraszlig <aszlig@redmoonstudios.org>2015-02-13 04:52:24 +0100
committeraszlig <aszlig@redmoonstudios.org>2015-02-13 04:52:24 +0100
commit643a9f4589a33f8dc20476925bb922dbee905a7d (patch)
treefb97f35880321499851a51e5500ac2022ca6bf46 /common.nix
parentc668686e319c74c113dcf66977b8c1c238356ffb (diff)
common: Turn on Nix store auto-optimization.
This makes sense especially on tishtushi where disk space is sparse, but
also helps especially when testing/working on Nix expressions.

Motivated by a message from @wmertens:

http://lists.science.uu.nl/pipermail/nix-dev/2015-February/016180.html

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Diffstat (limited to 'common.nix')
-rw-r--r--common.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/common.nix b/common.nix
index 4d69f654..9d0d1cbc 100644
--- a/common.nix
+++ b/common.nix
@@ -9,6 +9,7 @@
     readOnlyStore = true;
     extraOptions = ''
       build-cores = 0
+      auto-optimise-store = true
     '';
   };