From 134879a7bc5f4b009bc401ba6ce28e3533b177c1 Mon Sep 17 00:00:00 2001 From: Aleksandr Lebedev Date: Sun, 19 Oct 2025 22:29:28 +0200 Subject: [PATCH] More nextcloud apps --- .../stargate/services/nextcloud.nix | 24 ++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/systems/x86_64-linux/stargate/services/nextcloud.nix b/systems/x86_64-linux/stargate/services/nextcloud.nix index 0520d9a..b16cda3 100644 --- a/systems/x86_64-linux/stargate/services/nextcloud.nix +++ b/systems/x86_64-linux/stargate/services/nextcloud.nix @@ -12,7 +12,24 @@ ... }: with lib; -with lib.custom; { +with lib.custom; let + # find link here: https://apps.nextcloud.com/ + intros = pkgs.fetchNextcloudApp { + sha256 = "sha256-qcr81qUd3Sd7nTzoDoc63IXiVXlyZ/s+3RMCAxbMoTo="; + url = "https://packages.framasoft.org/projects/nextcloud-apps/intros/intros-1.2.0-frama.tar.gz"; + license = "gpl3"; + }; + external = pkgs.fetchNextcloudApp { + sha256 = "sha256-xVrnahqgXIXjk9gukrFgpwZiT2poUIDl83xV8hXPisw="; + url = "https://github.com/nextcloud-releases/external/releases/download/v6.0.2/external-v6.0.2.tar.gz"; + license = "gpl3"; + }; + welcome = pkgs.fetchNextcloudApp { + sha256 = "sha256-tiSkoIiqGrkawpzWgNvTIgGwzM4OjYVKNp42A+6UmlE="; + url = "https://github.com/nextcloud-releases/welcome/releases/download/v1.3.0/welcome-v1.3.0.tar.gz"; + license = "gpl3"; + }; +in { sops.secrets."services/nextcloud/dbPassword" = {owner = "nextcloud";}; sops.secrets."services/nextcloud/whiteboard" = {owner = "nextcloud";}; services.nextcloud = { @@ -73,6 +90,11 @@ with lib.custom; { richdocuments mail ; + inherit + intros + external + #welcome + ; }; autoUpdateApps.enable = true; extraAppsEnable = true;