From ebbc034bf87b4b32c574944473fe3ca0ddcd33a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9ana=20=E6=B1=9F?= Date: Tue, 1 Jul 2025 13:42:33 +0200 Subject: [PATCH] Just: cleanup task --- Justfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Justfile b/Justfile index 672edec8..fd4c87a8 100644 --- a/Justfile +++ b/Justfile @@ -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