]> git.scottworley.com Git - nix-profile-gc/summary
 
descriptionMore gently remove old Nix profiles
last changeSat, 20 Apr 2024 08:42:40 +0000 (01:42 -0700)
readme

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

shortlog
2024-04-20 Scott WorleyAppease shellcheck master
2024-02-09 Scott WorleyConsistently use 'pname' for profile names
2024-02-09 Scott WorleyFix profile comparison: Don't use full path where name...
2023-05-20 Scott WorleyREADME
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
heads
7 months ago master