Add curl to the purge-old-media

This commit is contained in:
Charlotte 🦝 Delenk 2022-11-21 14:27:43 +01:00
parent c71ae81c92
commit 2525b443e5
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122

View file

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