nextcloud: Update the service and apps for 22.11

This commit is contained in:
Tristan Daniël Maat 2023-01-11 01:57:24 +00:00
parent 411e075ef1
commit b798efb2c0
Signed by: tlater
GPG key ID: 49670FD774E43268
6 changed files with 70 additions and 97 deletions

View file

@ -2,7 +2,7 @@
pkgs,
lib,
}: let
inherit (builtins) listToAttrs mapAttrs;
inherit (builtins) fromJSON mapAttrs readFile;
inherit (pkgs) callPackage;
in
{
@ -12,7 +12,7 @@ in
# Add nextcloud apps
let
mkNextcloudApp = pkgs.callPackage ./mkNextcloudApp.nix {};
sources = pkgs.callPackage ./_sources_nextcloud/generated.nix {};
sources = fromJSON (readFile ./_sources_nextcloud/generated.json);
in
mapAttrs (_: source: mkNextcloudApp source) sources
)