adding dalinar nextcloud

I'm going to attempt to migrate my home nextcloud instance to NixOS
since a lot of the time, updating nextcloud is a hug pain.
This commit is contained in:
Chris Cochrun 2023-12-10 06:31:53 -06:00
parent 1116497ba4
commit c894791a6e

View file

@ -253,6 +253,26 @@
#'';
};
services.nextcloud = {
enable = false;
home = "/storage/nextcloud";
https = true;
hostName = "nc.cochrun.xyz";
caching = {
redis = true;
};
notify_push.enable = true;
autoUpdateApps.enable = true;
phpOptions = {
upload_max_filesize=1G;
post_max_size=1G;
memory_limit=2G;
opcache.memory_consumption = 256;
opcache.jit = 1255;
opcache.jit_buffer_size = 128M;
}
};
# CADDY
services.caddy = {
enable = true;