use extraApps
This commit is contained in:
parent
5e07650ff3
commit
26d6872231
1 changed files with 3 additions and 7 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue