]> git.scottworley.com Git - nix-profile-gc/summary
descriptionMore gently remove old Nix profiles
last changeSat, 20 May 2023 05:05:32 +0000 (22:05 -0700)

Nix Profile GC

Clean up old profiles more carefully than nix-collect-garbage --delete-older-than

This module removes most old profiles, but makes sure to keep around the last few profiles that served this machine well – profiles this machine ran on for a (configurable) time – even if they’re old.

This is a NixOS Module rather than a stand-alone tool because it determines which extra profiles need preserving by periodically logging the currently-active profiles.

See also: Announcement

2023-05-20 Scott WorleyREADME master
2023-05-20 Scott WorleyLicense: GPL 3
2023-03-27 Scott Worleyprofile-gc: Confidence gained! Change dryRun default...
2022-12-08 Scott Worleyprofile-gc: Start the timer on boot
2022-12-08 Scott Worleyprofile-gc: Make activeMeasurementGranularity configurable
2022-11-17 Scott Worleyprofile-gc: No unbound variable references
2022-11-17 Scott Worleyprofile-gc: Use OnUnitActiveSec so timer recurs
2022-11-17 Scott Worleyprofile-gc
6 months ago master