Upgraded to Nextcloud 18

This commit is contained in:
Craige McWhirter 2020-05-04 19:05:37 +10:00
parent 3cc8f955ea
commit 9a0b7da6a7
Signed by: sercanto
GPG key ID: 7DBA9F5689EFB6AA

View file

@ -23,6 +23,11 @@
adminuser = "root"; # Set the admin user name adminuser = "root"; # Set the admin user name
overwriteProtocol = "https"; # Force Nextcloud to always use HTTPS overwriteProtocol = "https"; # Force Nextcloud to always use HTTPS
}; };
autoUpdateApps = {
enable = true; # Run regular auto update of all apps installed
startAt = "01:00:00"; # When to run the update
};
package = pkgs.nextcloud18;
}; };
services.postgresql = { services.postgresql = {
@ -33,13 +38,14 @@
name = "nextcloud"; # Ensure the database user persists name = "nextcloud"; # Ensure the database user persists
ensurePermissions = { # Ensure the database permissions persist ensurePermissions = { # Ensure the database permissions persist
"DATABASE nextcloud" = "ALL PRIVILEGES"; "DATABASE nextcloud" = "ALL PRIVILEGES";
"ALL TABLES IN SCHEMA public" = "ALL PRIVILEGES";
}; };
} }
]; ];
}; };
services.nginx = { services.nginx = {
#enable = true; # Enable Nginx enable = true; # Enable Nginx
recommendedGzipSettings = true; recommendedGzipSettings = true;
recommendedOptimisation = true; recommendedOptimisation = true;
recommendedProxySettings = true; recommendedProxySettings = true;