From 4e0774e5d8ce66124d85cb192bd4316099216065 Mon Sep 17 00:00:00 2001 From: ryan4yin Date: Mon, 5 Jun 2023 01:57:49 +0800 Subject: [PATCH] feat: enable storage optimise to reduce storage usage --- flake.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/flake.nix b/flake.nix index 7ba7f865..2b416434 100644 --- a/flake.nix +++ b/flake.nix @@ -3,6 +3,8 @@ nixConfig = { experimental-features = [ "nix-command" "flakes" ]; + # Manual optimise storage: nix-store --optimise + auto-optimise-store = true; substituters = [ # replace official cache with a mirror located in China