Improve cleanup after updating

This commit is contained in:
Daniel Siepmann 2022-02-03 09:46:30 +01:00
parent 446f7fdf0e
commit 79d32d8a21
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4

View file

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