diff --git a/configuration/services/nextcloud.nix b/configuration/services/nextcloud.nix index 133d1d1..7b87697 100644 --- a/configuration/services/nextcloud.nix +++ b/configuration/services/nextcloud.nix @@ -16,6 +16,8 @@ in { maxUploadSize = "2G"; https = true; + configureRedis = true; + config = { overwriteProtocol = "https"; @@ -37,12 +39,10 @@ in { extraApps = { inherit (pkgs.local) bookmarks calendar contacts cookbook news notes; }; - - # TODO(tlater): Add redis config. This will be much easier - # starting with 22.11, since this will add an `extraOptions` where - # the necessary redis config can go. }; + services.redis.vmOverCommit = true; + # Ensure that this service doesn't start before postgres is ready systemd.services.nextcloud-setup.after = ["postgresql.service"];