From 26d68722310bf45e48522fd04c87e7d6a64e1693 Mon Sep 17 00:00:00 2001 From: ibizaman Date: Wed, 10 Apr 2024 21:10:58 -0700 Subject: [PATCH] use extraApps --- modules/services/nextcloud-server.nix | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/modules/services/nextcloud-server.nix b/modules/services/nextcloud-server.nix index 0ce8907..c16d3cf 100644 --- a/modules/services/nextcloud-server.nix +++ b/modules/services/nextcloud-server.nix @@ -1019,6 +1019,9 @@ in tf = x: if x then "true" else "false"; in { + services.nextcloud.extraApps = { + inherit ((nextcloudApps cfg.version)) memories; + }; systemd.services.nextcloud-cron = { # required for memories @@ -1026,13 +1029,6 @@ in path = [ pkgs.perl ]; }; - - systemd.services.nextcloud-setup.script = - '' - ${occ} app:install memories || : - ${occ} app:enable memories - ''; - services.nextcloud = { # See all options at https://memories.gallery/system-config/ settings = {