about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--modules/nix.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/nix.nix b/modules/nix.nix
index 37c9fe5..181d770 100644
--- a/modules/nix.nix
+++ b/modules/nix.nix
@@ -15,9 +15,8 @@
     (lib.mkIf
       (config.nix.experimentalFeatures != "")
       { nix.extraOptions = "experimental-features = ${config.nix.experimentalFeatures}"; })
-
-    { nix.settings.auto-optimise-store = lib.mkDefault true; }
     {
+      nix.settings.auto-optimise-store = lib.mkDefault true;
       nix.gc.automatic = lib.mkDefault true;
       nix.gc.options = lib.mkDefault "--delete-older-than 10d";
     }