From a4fc0522c29acbc4541f62cac9c84471ef58c96d Mon Sep 17 00:00:00 2001 From: glenn Date: Wed, 24 Jul 2024 09:16:20 +0200 Subject: [PATCH] added preview settings --- nextcloud.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/nextcloud.nix b/nextcloud.nix index 23344c6..bfbc4c4 100644 --- a/nextcloud.nix +++ b/nextcloud.nix @@ -21,6 +21,9 @@ in { }; }; + systemd.services.nextcloud-cron = { + path = [pkgs.perl]; + }; systemd.services."nextcloud-db-backup" = { script = with pkgs; '' set -eu @@ -82,6 +85,11 @@ in { maintenance_window_start = 1; }; extraOptions = { + "memories.exiftool" = "${lib.getExe pkgs.exiftool}"; + "memories.vod.ffmpeg" = "${lib.getExe pkgs.ffmpeg-headless}"; + "memories.vod.ffprobe" = "${pkgs.ffmpeg-headless}/bin/ffprobe"; + preview_ffmpeg_path = "${pkgs.ffmpeg-headless}/bin/ffmpeg"; + # redis = { # # host = "/run/redis/redis.sock"; # port = 0; @@ -93,7 +101,7 @@ in { extraApps = with config.services.nextcloud.package.packages.apps; { # List of apps we want to install and are already packaged in # https://github.com/NixOS/nixpkgs/blob/master/pkgs/servers/nextcloud/packages/nextcloud-apps.json - inherit mail calendar contacts notes onlyoffice cookbook spreed memories; + inherit mail calendar contacts notes onlyoffice cookbook spreed memories previewgenerator; }; config = { overwriteProtocol = "https";