From f166ba76d8677b0afce2b65a108603d11934fb64 Mon Sep 17 00:00:00 2001 From: coolneng Date: Thu, 3 Sep 2020 02:36:54 +0200 Subject: [PATCH] Optimize nix store and crank up the gc --- configuration.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configuration.nix b/configuration.nix index e5c8703..24311b1 100644 --- a/configuration.nix +++ b/configuration.nix @@ -32,9 +32,10 @@ # Run Nix garbage collector, while avoiding compiling nix = { + autoOptimiseStore = true; gc = { automatic = true; - options = "--delete-older-than 14d"; + options = "--delete-older-than 7d"; dates = "14:30"; }; extraOptions = ''