diff --git a/configuration/services/nextcloud.nix b/configuration/services/nextcloud.nix index 81f38a3..75993c3 100644 --- a/configuration/services/nextcloud.nix +++ b/configuration/services/nextcloud.nix @@ -11,7 +11,6 @@ in { inherit hostName; package = nextcloud; - enableBrokenCiphersForSSE = false; enable = true; maxUploadSize = "2G"; https = true; @@ -30,11 +29,9 @@ in { defaultPhoneRegion = "AT"; }; - phpOptions = - options.services.nextcloud.phpOptions.default - // { - "opcache.interned_strings_buffer" = "16"; - }; + phpOptions = { + "opcache.interned_strings_buffer" = "16"; + }; extraApps = { inherit (pkgs.local) bookmarks calendar contacts cookbook news notes; diff --git a/configuration/services/postgres.nix b/configuration/services/postgres.nix index 923007d..018dc6e 100644 --- a/configuration/services/postgres.nix +++ b/configuration/services/postgres.nix @@ -18,15 +18,11 @@ ensureUsers = [ { name = "grafana"; - ensurePermissions = { - "DATABASE grafana" = "ALL PRIVILEGES"; - }; + ensureDBOwnership = true; } { name = "nextcloud"; - ensurePermissions = { - "DATABASE nextcloud" = "ALL PRIVILEGES"; - }; + ensureDBOwnership = true; } ]; diff --git a/pkgs/mkNextcloudApp.nix b/pkgs/mkNextcloudApp.nix index 6430ac1..9bf6b26 100644 --- a/pkgs/mkNextcloudApp.nix +++ b/pkgs/mkNextcloudApp.nix @@ -5,4 +5,5 @@ fetchNextcloudApp { url = source.src.url; sha256 = source.src.sha256; + license = "unlicense"; # Blatant lie }