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 = [
|
||||
@@ -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;
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user