mirror of
https://git.feal.no/felixalb/nixos-config.git
synced 2024-12-22 04:07:28 +01:00
challenger/nextcloud: Try bothering nextcloud into giving me exiftool
This commit is contained in:
parent
ac7a7454bc
commit
e3abb23e98
@ -46,15 +46,11 @@ in {
|
||||
oidc_login_filter_allowed_values = [ "nextcloud-user" ];
|
||||
oidc_login_disable_registration = false;
|
||||
|
||||
memories = {
|
||||
# exiftool = "${lib.getExe pkgs.exiftool}"; # TODO - not working, use perl
|
||||
# exiftool_no_local = false;
|
||||
vod = {
|
||||
disable = false;
|
||||
ffmpeg = "${lib.getExe pkgs.ffmpeg-headless}";
|
||||
ffprobe = "${pkgs.ffmpeg-headless}/bin/ffprobe";
|
||||
};
|
||||
};
|
||||
"memories.exiftool" = "${cfg.home}/store-apps/memories/bin-ext/exiftool-amd64-glibc";
|
||||
"memories.exiftool_no_local" = false;
|
||||
"memories.vod.disable" = false;
|
||||
"memories.vod.ffmpeg" = "${lib.getExe pkgs.ffmpeg-headless}";
|
||||
"memories.vod.ffprobe" = "${pkgs.ffmpeg-headless}/bin/ffprobe";
|
||||
preview_ffmpeg_path = "${pkgs.ffmpeg-headless}/bin/ffmpeg";
|
||||
};
|
||||
|
||||
@ -102,7 +98,10 @@ in {
|
||||
};
|
||||
|
||||
systemd.services.nextcloud-cron = {
|
||||
path = [ pkgs.perl ]; # exiftool doesn't work, so make perl available instead
|
||||
path = with pkgs; [
|
||||
exiftool
|
||||
ffmpeg-headless
|
||||
];
|
||||
};
|
||||
|
||||
systemd.services."nextcloud-setup" = {
|
||||
@ -112,7 +111,12 @@ in {
|
||||
|
||||
systemd.services."phpfpm-nextcloud" = {
|
||||
requires = [ "tank-nextcloud.mount" ];
|
||||
path = [ pkgs.perl ];
|
||||
path = with pkgs; [
|
||||
# perl
|
||||
# perlPackages.ImageExifTool
|
||||
exiftool
|
||||
ffmpeg-headless
|
||||
];
|
||||
serviceConfig = {
|
||||
PrivateDevices = lib.mkForce false;
|
||||
WorkingDirectory = "/tank/nextcloud";
|
||||
|
Loading…
Reference in New Issue
Block a user