Small nextcloud improvements

- Configured redis
- Added old data (node system now imports the zfs pool with the data)
This commit is contained in:
Alejandro Angulo 2023-07-09 15:58:51 -07:00
parent d6bf38b497
commit f04616721d
Signed by: alejandro-angulo
GPG key ID: 75579581C74554B6
3 changed files with 4 additions and 0 deletions

View file

@ -26,8 +26,10 @@ in {
hostName = "nextcloud.kilonull.com"; hostName = "nextcloud.kilonull.com";
https = true; https = true;
database.createLocally = true; database.createLocally = true;
datadir = "/tank/nextcloud";
# Arbitrary large size # Arbitrary large size
maxUploadSize = "16G"; maxUploadSize = "16G";
configureRedis = true;
config = { config = {
dbtype = "pgsql"; dbtype = "pgsql";
adminuser = "alejandro"; adminuser = "alejandro";

View file

@ -33,6 +33,7 @@ in {
lsof lsof
bind # for dig bind # for dig
tcpdump tcpdump
progress
]; ];
}; };
} }

View file

@ -4,5 +4,6 @@
... ...
}: { }: {
boot.supportedFilesystems = ["zfs"]; boot.supportedFilesystems = ["zfs"];
boot.zfs.extraPools = ["tank"];
networking.hostId = "db616c9e"; networking.hostId = "db616c9e";
} }