From 32adde9edaca7450d83215adf0450da605d3ca7a Mon Sep 17 00:00:00 2001 From: Daniel Langbein Date: Thu, 24 Aug 2023 14:00:59 +0200 Subject: [PATCH] update README --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 2b0a124..85c27c3 100644 --- a/README.md +++ b/README.md @@ -31,6 +31,15 @@ sudo nix-channel --update Then run `nixos-rebuild switch`, see above. +## Garbage Collection + +* https://nixos.org/manual/nix/stable/package-management/garbage-collection.html + +```shell +nix-env --delete-generations 14d +nix-store --gc +``` + ## Install Home Manager with niv niv: