mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 09:54:40 +02:00
service/nextcloud: 28 -> 29
This commit is contained in:
parent
28d636ec98
commit
b8c98e6d9c
1 changed files with 7 additions and 6 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue