feat(nix): bound the store, generations and boot menu (task 0014) #7
Reference in New Issue
Block a user
Delete Branch "task-0014-nix-store-housekeeping"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Task:
.claude/tasks/0014-nix-store-housekeeping.mdBounds the three things that grew without limit on this machine, declared in the shared base config so every future host inherits them:
Verified with
nix flake check, plus inspection of the built toplevel: both timers are present, and the bootloader installer carriesCONFIGURATION_LIMIT = int("15").Deviations. The schedules are named days rather than the bare
weeklykeyword — systemd expandsweeklytoMon *-*-* 00:00:00, which would have started collection and deduplication at the same instant, leavingnix-optimisehard-linking pathsnix-gcwas concurrently deleting. Collection runsMon 03:15, optimisationThu 03:45.Review
Overall: MEDIUM
nix flake checkcatches a bad option name or type, but nothing exercises the timers over time.Unaddressed findings
--delete-older-than 30dandconfigurationLimit = 15— and the comment convention forbids either comment pointing at the other. Left as is: they bound different resources (store versus EFI partition), and merging them into one block would misdescribe both.nixos-rebuild switch, and this session had no sudo credential. It closes in a follow-up commit, as tasks 0013, 0016 and 0017 did.