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