From 204ae78ba3e8915e5e54689950e3ed13ac6d193b Mon Sep 17 00:00:00 2001 From: thiloho <123883702+thiloho@users.noreply.github.com> Date: Sat, 5 Aug 2023 23:47:31 +0200 Subject: [PATCH] Add memcached and smaller setting adjustments --- nixos-configurations/server/default.nix | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/nixos-configurations/server/default.nix b/nixos-configurations/server/default.nix index 78b5da2..6461187 100644 --- a/nixos-configurations/server/default.nix +++ b/nixos-configurations/server/default.nix @@ -54,16 +54,27 @@ }; }; }; + memcached.enable = true; nextcloud = { enable = true; package = pkgs.nextcloud27; hostName = "cloud.thilohohlt.com"; database.createLocally = true; + https = true; + caching.memcached = true; config = { dbtype = "pgsql"; adminpassFile = "/var/run/nextcloud-pass.txt"; + defaultPhoneRegion = "DE"; + }; + phpOptions = { + upload_max_filesize = "16G"; + post_max_size = "16G"; + }; + extraOptions = { + mail_smtpmode = "sendmail"; + mail_sendmailmode = "pipe"; }; - https = true; }; };