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;