From 585881ee8e8b939f29e60a263980bf7caec845ba Mon Sep 17 00:00:00 2001 From: Florian RICHER Date: Wed, 15 Jan 2025 22:31:51 +0100 Subject: [PATCH] Add tips about nix-store optimize --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index f8066c3..71cbf2d 100644 --- a/README.md +++ b/README.md @@ -42,6 +42,11 @@ Clean up all useless store from old profiles sudo nix store gc --debug ``` +Optimize Store +```bash +nix-store --optimise +``` + error: cached failure of attribute 'nixosConfigurations.perso-desktop.config.system.build.toplevel' ```bash sudo rm -fr /root/.cache/nix/