Merge pull request #55 from DarkKirb/fix-purge-old-media

Add curl to the purge-old-media
This commit is contained in:
Charlotte 🦝 Delenk 2022-11-21 15:08:51 +01:00 committed by GitHub
commit 1c3a9fbf48
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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})