From c894791a6e4ecd60b4e2eb2674a0ce03b9855c1d Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Sun, 10 Dec 2023 06:31:53 -0600 Subject: [PATCH] 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. --- systems/dalinar/configuration.nix | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/systems/dalinar/configuration.nix b/systems/dalinar/configuration.nix index 0af4365..5318ef0 100644 --- a/systems/dalinar/configuration.nix +++ b/systems/dalinar/configuration.nix @@ -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;