Improve cleanup after updating
This commit is contained in:
parent
446f7fdf0e
commit
79d32d8a21
|
@ -69,6 +69,7 @@ The following will update the whole system and clean things up::
|
|||
nix-channel --update \
|
||||
&& home-manager switch \
|
||||
&& home-manager expire-generations '-30 days' \
|
||||
&& nix-env --delete-generations +5 \
|
||||
&& nix-store --gc
|
||||
|
||||
This will update the channel (fetch state of nixpkgs).
|
||||
|
|
Loading…
Reference in a new issue