Add home-manager profiles in purge docs

Signed-off-by: florian.richer <florian.richer@protonmail.com>
This commit is contained in:
florian.richer 2024-04-13 23:52:35 +02:00
parent 22fc39a652
commit 1017b44254

View file

@ -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