service/nextcloud: 28 -> 29

This commit is contained in:
Felix Buehler 2024-06-01 18:45:02 +02:00
parent 28d636ec98
commit b8c98e6d9c

View file

@ -19,7 +19,7 @@ in
example = "admin"; example = "admin";
description = "Name of the admin user"; description = "Name of the admin user";
}; };
defaultPhoneRegion = mkOption { default_phone_region = mkOption {
type = types.str; type = types.str;
default = "DE"; default = "DE";
example = "US"; example = "US";
@ -54,22 +54,23 @@ in
services = { services = {
nextcloud = { nextcloud = {
enable = true; enable = true;
package = pkgs.nextcloud28; package = pkgs.nextcloud29;
hostName = "cloud.${domain}"; hostName = "cloud.${domain}";
maxUploadSize = cfg.maxSize; maxUploadSize = cfg.maxSize;
autoUpdateApps.enable = true; autoUpdateApps.enable = true;
settings = {
inherit (cfg) default_phone_region;
overwriteprotocol = "https"; # nginx only allows SSL
};
config = { config = {
adminuser = cfg.admin; adminuser = cfg.admin;
adminpassFile = cfg.passwordFile; adminpassFile = cfg.passwordFile;
inherit (cfg) defaultPhoneRegion;
overwriteProtocol = "https"; # Nginx only allows SSL
#dbtype = "pgsql"; #dbtype = "pgsql";
#dbhost = "/run/postgresql"; #dbhost = "/run/postgresql";
}; };
extraApps = with pkgs.nextcloud28Packages.apps; { extraApps = with pkgs.nextcloud29Packages.apps; {
inherit calendar contacts tasks deck; inherit calendar contacts tasks deck;
}; };
extraAppsEnable = true; extraAppsEnable = true;