From b0b576e9fe4cb74e0ef4baa6cf7f52949950c15c Mon Sep 17 00:00:00 2001 From: Tom Hubrecht Date: Wed, 22 Nov 2023 12:56:33 +0100 Subject: [PATCH] feat(nextcloud): Add a service to preview documents each day --- machines/compute01/nextcloud.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/machines/compute01/nextcloud.nix b/machines/compute01/nextcloud.nix index 820223c..b864890 100644 --- a/machines/compute01/nextcloud.nix +++ b/machines/compute01/nextcloud.nix @@ -46,6 +46,11 @@ in { "pm.start_servers" = "6"; }; + systemd.services.nextcloud-preview = { + script = "nextcloud-occ preview:pre-generate -vvv"; + startAt = "*-*-* 01:00:00 UTC"; + }; + notify_push = { enable = true; }; database.createLocally = true;