Add curl to the purge-old-media #55
1 changed files with 1 additions and 0 deletions
|
@ -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})
|
||||||
|
|
Loading…
Reference in a new issue