From 9a0b7da6a772c63ac2ba471ef6c41548653b5a50 Mon Sep 17 00:00:00 2001 From: Craige McWhirter Date: Mon, 4 May 2020 19:05:37 +1000 Subject: [PATCH] Upgraded to Nextcloud 18 --- roles/nextcloud.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/roles/nextcloud.nix b/roles/nextcloud.nix index 1f638ef..adb9ddb 100644 --- a/roles/nextcloud.nix +++ b/roles/nextcloud.nix @@ -23,6 +23,11 @@ adminuser = "root"; # Set the admin user name 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 = { @@ -33,13 +38,14 @@ name = "nextcloud"; # Ensure the database user persists ensurePermissions = { # Ensure the database permissions persist "DATABASE nextcloud" = "ALL PRIVILEGES"; + "ALL TABLES IN SCHEMA public" = "ALL PRIVILEGES"; }; } ]; }; services.nginx = { - #enable = true; # Enable Nginx + enable = true; # Enable Nginx recommendedGzipSettings = true; recommendedOptimisation = true; recommendedProxySettings = true;