Add home-manager profiles in purge docs
Signed-off-by: florian.richer <florian.richer@protonmail.com>
This commit is contained in:
parent
22fc39a652
commit
1017b44254
1 changed files with 4 additions and 0 deletions
|
@ -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
|
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
|
Clean up all useless store from old profiles
|
||||||
```bash
|
```bash
|
||||||
sudo nix store gc --debug
|
sudo nix store gc --debug
|
||||||
|
|
Loading…
Reference in a new issue