Add curl to the purge-old-media #55

Merged
DarkKirb merged 1 commit from fix-purge-old-media into main 2022-11-21 14:08:51 +00:00

View file

@ -126,6 +126,7 @@ in {
}; };
}; };
systemd.services.purge-old-media = { systemd.services.purge-old-media = {
path = [pkgs.curl];
description = "Purge unused media"; description = "Purge unused media";
script = '' script = ''
export MATRIX_TOKEN=$(cat ${config.sops.secrets."services/matrix-media-repo/matrix-token".path}) export MATRIX_TOKEN=$(cat ${config.sops.secrets."services/matrix-media-repo/matrix-token".path})