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