From 1017b44254b98cae6afd622fd0b4d85abc69bd1e Mon Sep 17 00:00:00 2001 From: "florian.richer" Date: Sat, 13 Apr 2024 23:52:35 +0200 Subject: [PATCH] Add home-manager profiles in purge docs Signed-off-by: florian.richer --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 0d8042c..0032687 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,10 @@ Remove all profiles older than 7 days sudo nix profile wipe-history --older-than 7d --profile /nix/var/nix/profiles/system ``` +```bash +nix profile wipe-history --older-than 7d --profile ~/.local/state/nix/profiles/home-manager +``` + Clean up all useless store from old profiles ```bash sudo nix store gc --debug