From 267351f6d3da534c14761d3ba232816205a5aeec Mon Sep 17 00:00:00 2001 From: InioX Date: Mon, 16 Oct 2023 13:27:13 +0200 Subject: [PATCH] feat(nix): add `nix.optimise.automatic` --- modules/system/nix.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/system/nix.nix b/modules/system/nix.nix index 03b19e3..7beebf2 100644 --- a/modules/system/nix.nix +++ b/modules/system/nix.nix @@ -4,7 +4,6 @@ ... }: { nix = { - settings.auto-optimise-store = true; extraOptions = '' experimental-features = nix-command flakes ''; @@ -23,6 +22,8 @@ "https://nixpkgs-wayland.cachix.org" ]; }; + optimise.automatic = true; + settings.auto-optimise-store = true; }; nixpkgs.config.allowUnfree = true;