Skip to content

Feature request: --delete-generations with --keep-booted #1095

@matthiasbeyer

Description

@matthiasbeyer

From time to time I notice that I lost my currently booted generation when nix-env --delete-generationsing, because I had so many nixos-rebuild switch in between that I removed the old ones (I usualy keep 5-10 generations).

It would be a nice feature to have a flag to remove generations, but keep the currently booted one (as one can be sure that it works).

Metadata

Metadata

Assignees

Labels

cliThe old and/or new command line interfacefeatureFeature request or proposal

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions