Commit 0a1096a
committed
fix(nixos): drop invalid --delete-generations flag from nix.gc.options
`--delete-generations` is a `nix-env` / `nix profile` flag; it's not
accepted by `nix-collect-garbage`, which only supports `--delete-old`
and `--delete-older-than`. PR #71 passed CI because flake-check only
evaluates the systemd unit — it never runs it — but `colmena apply`
aborts activation when `nix-gc.service` exits 1 with
"unrecognised flag '--delete-generations'".
Daily cadence + `--delete-older-than 7d` already covers both problems
#71 set out to fix: nixpkgs churn gets swept within 24h, and on servers
that finally redeploy after a long idle the previous-current generation
becomes eligible for pruning the next day.1 parent f3ea029 commit 0a1096a
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
| 96 | + | |
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
| |||
0 commit comments