nixos/nextcloud: fail systemd-service if apps don't activate

main
Robbert Gurdeep Singh 3 years ago committed by Maximilian Bosch
parent 18b18929d7
commit 1852212872
No known key found for this signature in database
GPG Key ID: 091DBF4D1FC46B8E
  1. 2
      nixos/modules/services/web-apps/nextcloud.nix

@ -757,7 +757,7 @@ in {
${optionalString (cfg.extraAppsEnable && cfg.extraApps != { }) ''
# Try to enable apps (don't fail when one of them cannot be enabled , eg. due to incompatible version)
${occ}/bin/nextcloud-occ app:enable ${builtins.concatStringsSep " " ( lib.mapAttrsToList (name: target: "${name}") cfg.extraApps)} || true
${occ}/bin/nextcloud-occ app:enable ${builtins.concatStringsSep " " ( lib.mapAttrsToList (name: target: "${name}") cfg.extraApps)}
''}
${occSetTrustedDomainsCmd}

Loading…
Cancel
Save