about summary refs log tree commit diff
path: root/modules
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2024-02-10 07:20:40 +0900
committersefidel <contact@sefidel.net>2024-02-10 07:42:24 +0900
commit8b6fa0c211fa275eb458181f26ccdc8993f95ea2 (patch)
tree8db8a97b4125fbd34118114026d1c9cd92cf275e /modules
parent0972ea9754a695b51840c0e58ef7c68dafb7b70d (diff)
downloadnixrc-8b6fa0c211fa275eb458181f26ccdc8993f95ea2.tar.gz
nixrc-8b6fa0c211fa275eb458181f26ccdc8993f95ea2.zip
chore(modules/nix): remove redundant separation
Diffstat (limited to 'modules')
-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";
     }