From 92aed5c025aa0254fb1fdc067b6fb8e57fb7121c Mon Sep 17 00:00:00 2001 From: James Eversole Date: Mon, 26 Jun 2023 12:37:11 -0500 Subject: [PATCH] Enable auto-optimisation of nix store --- flake.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index b3fff6e..1e5fc62 100644 --- a/flake.nix +++ b/flake.nix @@ -41,7 +41,10 @@ nix = { buildMachines = [ ]; distributedBuilds = false; - settings.experimental-features = [ "nix-command" "flakes" ]; + settings = { + auto-optimise-store = true; + experimental-features = [ "nix-command" "flakes" ]; + }; }; boot = {