1
0
Fork 0

use extraApps

This commit is contained in:
ibizaman 2024-04-10 21:10:58 -07:00
parent 5e07650ff3
commit 26d6872231

View file

@ -1019,6 +1019,9 @@ in
tf = x: if x then "true" else "false"; tf = x: if x then "true" else "false";
in in
{ {
services.nextcloud.extraApps = {
inherit ((nextcloudApps cfg.version)) memories;
};
systemd.services.nextcloud-cron = { systemd.services.nextcloud-cron = {
# required for memories # required for memories
@ -1026,13 +1029,6 @@ in
path = [ pkgs.perl ]; path = [ pkgs.perl ];
}; };
systemd.services.nextcloud-setup.script =
''
${occ} app:install memories || :
${occ} app:enable memories
'';
services.nextcloud = { services.nextcloud = {
# See all options at https://memories.gallery/system-config/ # See all options at https://memories.gallery/system-config/
settings = { settings = {