support ai stuff

This commit is contained in:
glenn 2024-07-25 10:19:49 +02:00
parent f111dbafe9
commit 38e2c1f9aa

View file

@ -7,6 +7,12 @@
}: let
domain = "cloud.sondell.org";
nextcloud = pkgs.nextcloud29;
app_api = pkgs.fetchNextcloudApp {
url = "https://github.com/cloud-py-api/app_api/releases/download/v2.7.0/app_api-v2.7.0.tar.gz";
sha256 = "sha256-l/ZbHbsITUFk/Ay3xpX60UwifG9aWZBQoz3fSEjVO30=";
license = "agpl3Only";
};
in {
environment.systemPackages = [
nextcloud
@ -101,7 +107,7 @@ in {
extraApps = with config.services.nextcloud.package.packages.apps; {
# List of apps we want to install and are already packaged in
# https://github.com/NixOS/nixpkgs/blob/master/pkgs/servers/nextcloud/packages/nextcloud-apps.json
inherit mail calendar contacts notes onlyoffice cookbook spreed memories previewgenerator integration_openai;
inherit mail calendar contacts notes onlyoffice cookbook spreed memories previewgenerator integration_openai app_api;
};
config = {
overwriteProtocol = "https";