From 8b6fa0c211fa275eb458181f26ccdc8993f95ea2 Mon Sep 17 00:00:00 2001 From: sefidel Date: Sat, 10 Feb 2024 07:20:40 +0900 Subject: chore(modules/nix): remove redundant separation --- modules/nix.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'modules') 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"; } -- cgit 1.4.1