explicitly disable memories app in nextcloud

Until https://github.com/ibizaman/selfhostblocks/issues/476 is fixed
This commit is contained in:
ibizaman 2025-06-24 23:30:28 +02:00 committed by Pierre Penninckx
parent 56e837aaa0
commit 53dde94d98
2 changed files with 65 additions and 0 deletions

View file

@ -1187,6 +1187,13 @@ in
cfg' = cfg.apps.memories;
in
{
assertions = [
{
assertion = true;
message = "Memories app has an issue for now, see https://github.com/ibizaman/selfhostblocks/issues/476.";
}
];
services.nextcloud.extraApps = {
inherit (nextcloudApps) memories;
};

View file

@ -248,6 +248,27 @@ let
};
};
memories = { config, ...}: {
systemd.tmpfiles.rules = [
"d '/srv/nextcloud' 0750 nextcloud nextcloud - -"
];
shb.nextcloud = {
apps.memories.enable = true;
apps.memories.vaapi = true;
};
};
recognize = { config, ...}: {
systemd.tmpfiles.rules = [
"d '/srv/nextcloud' 0750 nextcloud nextcloud - -"
];
shb.nextcloud = {
apps.recognize.enable = true;
};
};
prometheus = { config, ... }: {
shb.nextcloud = {
phpFpmPrometheusExporter.enable = true;
@ -352,6 +373,43 @@ in
testScript = commonTestScript.access;
};
# TODO: fix memories app
# See https://github.com/ibizaman/selfhostblocks/issues/476
# memories = pkgs.testers.runNixOSTest {
# name = "nextcloud_memories";
# nodes.server = {
# imports = [
# basic
# testLib.certs
# https
# memories
# ];
# };
# nodes.client = {};
# testScript = commonTestScript.access;
# };
recognize = pkgs.testers.runNixOSTest {
name = "nextcloud_recognize";
nodes.server = {
imports = [
basic
testLib.certs
https
recognize
];
};
nodes.client = {};
testScript = commonTestScript.access;
};
ldap = pkgs.testers.runNixOSTest {
name = "nextcloud_ldap";