]>
description | More gently remove old Nix profiles |
last change | Sat, 20 Apr 2024 08:42:40 +0000 (01:42 -0700) |
URL | https://git.scottworley.com/pub/git/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
8 months ago | master | shortlog | log | tree |