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;