]> git.scottworley.com Git - nix-profile-gc/blame_incremental - README.md
Fix profile comparison: Don't use full path where name is expected
[nix-profile-gc] / README.md
... / ...
CommitLineData
1# Nix Profile GC
2
3Clean up old profiles more carefully than `nix-collect-garbage --delete-older-than`
4
5This module removes most old profiles, but makes sure to keep around the last few profiles that
6served this machine well -- profiles this machine ran on for a (configurable) time -- even if
7they're old.
8
9This is a NixOS Module rather than a stand-alone tool because it determines which extra profiles
10need preserving by periodically logging the currently-active profiles.
11
12See also: [Announcement](https://scottworley.com/blog/2023-05-19-nix-profile-gc.html)