added preview settings
This commit is contained in:
parent
7165803a9a
commit
a4fc0522c2
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue