From 2525b443e567e656da749e146fb8ec5ee5ab4b25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charlotte=20=F0=9F=A6=9D=20Delenk?= Date: Mon, 21 Nov 2022 14:27:43 +0100 Subject: [PATCH] Add curl to the purge-old-media --- config/services/matrix-media-repo.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/config/services/matrix-media-repo.nix b/config/services/matrix-media-repo.nix index 0757b416..2789d667 100644 --- a/config/services/matrix-media-repo.nix +++ b/config/services/matrix-media-repo.nix @@ -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})