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";
|
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 = {
|
||||||
|
|
Loading…
Reference in a new issue