added nightly preview render

This commit is contained in:
Nickiel12 2023-11-15 21:27:02 -08:00
parent e89a705b65
commit 055452b2ba

View file

@ -74,4 +74,15 @@
requires = ["postgresql.service"];
after = ["postgresql.service"];
};
systemd.services.nextcloud-preview = {
description = "Generate previews for all images that haven't been rendered";
path = with pkgs; [
config.services.nextcloud.occ
];
script = ''
nextcloud-occ preview:pre-generate
'';
startAt = "01:00:00";
};
}