From 69b1ab32f50d5a66e760dc266cbd912caa4af119 Mon Sep 17 00:00:00 2001 From: thiloho <123883702+thiloho@users.noreply.github.com> Date: Sun, 6 Aug 2023 02:24:15 +0200 Subject: [PATCH] Configure redis and useful extra apps --- nixos-configurations/server/default.nix | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/nixos-configurations/server/default.nix b/nixos-configurations/server/default.nix index e6c0f99..9f386aa 100644 --- a/nixos-configurations/server/default.nix +++ b/nixos-configurations/server/default.nix @@ -1,4 +1,4 @@ -{ inputs, pkgs, ... }: +{ inputs, pkgs, config, ... }: { imports = [ @@ -54,14 +54,13 @@ }; }; }; - memcached.enable = true; nextcloud = { enable = true; package = pkgs.nextcloud27; hostName = "cloud.thilohohlt.com"; database.createLocally = true; https = true; - caching.memcached = true; + configureRedis = true; config = { dbtype = "pgsql"; adminpassFile = "/var/run/nextcloud-pass.txt"; @@ -75,6 +74,10 @@ mail_smtpmode = "sendmail"; mail_sendmailmode = "pipe"; }; + extraApps = with pkgs.nextcloud27Packages.apps; { + inherit tasks forms spreed; + }; + extraAppsEnable = true; }; };