Just: cleanup task

This commit is contained in:
Primrose 2025-07-01 13:42:33 +02:00
parent 0589bbf6af
commit ebbc034bf8
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA

View file

@ -24,5 +24,9 @@ install host:
--file ./default.nix \
--attr "nixosConfigurations.{{ host }}"
cleanup:
sudo nix-env --delete-generations +10 -p /nix/var/nix/profiles/system
nix-env --delete-generations +10 -p ~/.local/state/nix/profiles/home-manager
update:
npins update