fix(2pc): rename unit docker-prune -> ci-docker-prune (NixOS docker module reserves docker-prune)
The committed module used systemd.services.docker-prune, which conflicts with the NixOS docker module's own docker-prune unit (`nixos-rebuild build` error: conflicting definition values). The deployed+verified host already runs ci-docker-prune; this syncs the repo so a cold build matches. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@ -53,7 +53,7 @@ let
|
||||
};
|
||||
in
|
||||
{
|
||||
systemd.services.docker-prune = {
|
||||
systemd.services.ci-docker-prune = {
|
||||
description = "Surgical disk-pressure-gated Docker prune (dangling+old only; never --all/--volumes; never mid-run)";
|
||||
after = [ "docker.service" ];
|
||||
requires = [ "docker.service" ];
|
||||
@ -64,7 +64,7 @@ in
|
||||
};
|
||||
};
|
||||
|
||||
systemd.timers.docker-prune = {
|
||||
systemd.timers.ci-docker-prune = {
|
||||
description = "Daily timer for the surgical Docker prune";
|
||||
wantedBy = [ "timers.target" ];
|
||||
timerConfig = {
|
||||
|
||||
Reference in New Issue
Block a user