lix/src/nix/profile-wipe-history.md
2021-09-14 20:35:41 +02:00

502 B

R""(

Examples

  • Delete all versions of the default profile older than 100 days:

    # nix profile wipe-history --profile /tmp/profile --older-than 100d
    removing profile version 515
    removing profile version 514
    

Description

This command deletes non-current versions of a profile, making it impossible to roll back to these versions. By default, all non-current versions are deleted. With --older-than Nd, all non-current versions older than N days are deleted.

)""