mastodon: clean media older than 7 days
All checks were successful
Flake checks / Check (pull_request) Successful in 8m3s

Currently we keep everything for 30 days, which is about 180GB
This commit is contained in:
teutat3s 2024-04-05 23:50:04 +02:00
parent 9ec77e2a30
commit 41e4d3427c
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1

View file

@ -61,6 +61,9 @@
passwordFile = "/run/agenix/mastodon-smtp-password"; passwordFile = "/run/agenix/mastodon-smtp-password";
fromAddress = "mastodon-notifications@pub.solar"; fromAddress = "mastodon-notifications@pub.solar";
}; };
mediaAutoRemove = {
olderThanDays = 7;
};
extraEnvFiles = [ extraEnvFiles = [
"/run/agenix/mastodon-extra-env-secrets" "/run/agenix/mastodon-extra-env-secrets"
]; ];