Add nextcloud #54

Merged
kalipso merged 11 commits from forum-playground into staging 2025-01-18 21:56:29 +01:00
Showing only changes of commit 963c2bae13 - Show all commits

View File

@@ -5,7 +5,10 @@ with lib;
{
sops.defaultSopsFile = ./secrets.yaml;
sops.secrets = {
nextcloudAdminPass = {};
nextcloudAdminPass = {
owner = "nextcloud";
group = "nextcloud";
};
};
networking = {
@@ -28,7 +31,7 @@ with lib;
config.adminpassFile = config.sops.secrets.nextcloudAdminPass.path;
#https = true; #disable for testing
database.createLocally = true;
config.dbtype = pgsql;
config.dbtype = "pgsql";
configureRedis = true;
caching = {
redis = true;
@@ -38,8 +41,8 @@ with lib;
extraApps = {
inherit (config.services.nextcloud.package.packages.apps) contacts calendar;
collectives = pkgs.fetchNextcloudApp {
sha256 = "sha256-ErCWmQCI+ym9Pvsf84Z9yq4CyYJ1uVhyhhlS2bVSJ54=";
url = "https://github.com/nextcloud/collectives/releases/download/v2.15.1/collectives-2.15.1.tar.gz";
sha256 = "sha256-cj/8FhzxOACJaUEu0eG9r7iAQmnOG62yFHeyUICalFY=";
url = "https://github.com/nextcloud/collectives/releases/download/v2.15.2/collectives-2.15.2.tar.gz";
license = "agpl3Plus";
};
};