nextcloud: Configure redis caching

pull/87/head
Tristan Daniël Maat 2023-07-29 18:17:39 +02:00
parent 0c5755d2f0
commit bb3ffbbd90
Signed by: tlater
GPG Key ID: 49670FD774E43268
1 changed files with 4 additions and 4 deletions

View File

@ -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"];