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 = {