nix-env could delete specific versions with nix-env --delete-generations 1 3
nix profile wipe-history
does not seem to be able to do this?
nix-env could delete specific versions with nix-env --delete-generations 1 3
nix profile wipe-history
does not seem to be able to do this?
Isn’t the --profile
flag what you’re looking for?
· --profile path
The profile to operate on.
EDIT: can’t make it work though…
nixos-rebuild
uses nix-env
to manage system profile generations, so you cannot use nix profile
to manipulate these.