From 2be9eb16fe501a79f950befe192a8ed5439e905d Mon Sep 17 00:00:00 2001
From: h7x4 <h7x4@nani.wtf>
Date: Sat, 15 Mar 2025 01:20:34 +0100
Subject: [PATCH] base/nix: defer store optimization

---
 base/nix.nix | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/base/nix.nix b/base/nix.nix
index 06d7846..a485cdb 100644
--- a/base/nix.nix
+++ b/base/nix.nix
@@ -5,10 +5,10 @@
       automatic = true;
       options = "--delete-older-than 2d";
     };
+    optimise.automatic = true;
 
     settings = {
       allow-dirty = true;
-      auto-optimise-store = true;
       builders-use-substitutes = true;
       experimental-features = [ "nix-command" "flakes" ];
       log-lines = 50;