From 5de01790c4fbd7f6831fbbabb9ba6524b814d458 Mon Sep 17 00:00:00 2001 From: Jonas Gaffke Date: Thu, 9 Nov 2023 15:35:26 +0100 Subject: [PATCH] nextcloud: enable HEIC image preview --- modules/nextcloud.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/modules/nextcloud.nix b/modules/nextcloud.nix index dbca10c..9d4ab74 100644 --- a/modules/nextcloud.nix +++ b/modules/nextcloud.nix @@ -29,6 +29,22 @@ in }; # postgres database is configured automatically database.createLocally = true; + + # enable HEIC image preview + extraOptions.enabledPreviewProviders = [ + "OC\\Preview\\BMP" + "OC\\Preview\\GIF" + "OC\\Preview\\JPEG" + "OC\\Preview\\Krita" + "OC\\Preview\\MarkDown" + "OC\\Preview\\MP3" + "OC\\Preview\\OpenDocument" + "OC\\Preview\\PNG" + "OC\\Preview\\TXT" + "OC\\Preview\\XBitmap" + "OC\\Preview\\HEIC" + ]; + }; # Enable ACME and force SSL