mirror of
https://github.com/thiloho/nixos-config.git
synced 2025-11-22 11:31:36 +01:00
Configure redis and useful extra apps
This commit is contained in:
@@ -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;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user