From 1285b2bd9b6b74b209db838f164185d08abe3c1b Mon Sep 17 00:00:00 2001
From: Nydragon <contact@ccnlc.eu>
Date: Wed, 5 Jun 2024 15:21:33 +0900
Subject: [PATCH] fix: config has been changed

---
 modules/nix/default.nix | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/modules/nix/default.nix b/modules/nix/default.nix
index ef1e381..5588490 100644
--- a/modules/nix/default.nix
+++ b/modules/nix/default.nix
@@ -8,9 +8,11 @@
       # Catch up on missed runs due to being powered off
       persistent = true;
     };
+    #Deduplicate identical files in the store regularly
+    optimise = {
+      automatic = true;
+    };
     settings = {
-      # Deduplicate identical files in the store regularly
-      optimise.automatic = true;
       experimental-features = [
         "nix-command"
         "flakes"