Configure redis and useful extra apps

This commit is contained in:
thiloho
2023-08-06 02:24:15 +02:00
parent 472abbc20b
commit 69b1ab32f5

View File

@@ -1,4 +1,4 @@
{ inputs, pkgs, ... }: { inputs, pkgs, config, ... }:
{ {
imports = [ imports = [
@@ -54,14 +54,13 @@
}; };
}; };
}; };
memcached.enable = true;
nextcloud = { nextcloud = {
enable = true; enable = true;
package = pkgs.nextcloud27; package = pkgs.nextcloud27;
hostName = "cloud.thilohohlt.com"; hostName = "cloud.thilohohlt.com";
database.createLocally = true; database.createLocally = true;
https = true; https = true;
caching.memcached = true; configureRedis = true;
config = { config = {
dbtype = "pgsql"; dbtype = "pgsql";
adminpassFile = "/var/run/nextcloud-pass.txt"; adminpassFile = "/var/run/nextcloud-pass.txt";
@@ -75,6 +74,10 @@
mail_smtpmode = "sendmail"; mail_smtpmode = "sendmail";
mail_sendmailmode = "pipe"; mail_sendmailmode = "pipe";
}; };
extraApps = with pkgs.nextcloud27Packages.apps; {
inherit tasks forms spreed;
};
extraAppsEnable = true;
}; };
}; };