From f04616721d03941ef3cdc47c2b7c03b7fff1f032 Mon Sep 17 00:00:00 2001 From: Alejandro Angulo Date: Sun, 9 Jul 2023 15:58:51 -0700 Subject: [PATCH] Small nextcloud improvements - Configured redis - Added old data (node system now imports the zfs pool with the data) --- modules/services/nextcoud/default.nix | 2 ++ modules/suites/utils/default.nix | 1 + systems/x86_64-linux/node/zfs.nix | 1 + 3 files changed, 4 insertions(+) diff --git a/modules/services/nextcoud/default.nix b/modules/services/nextcoud/default.nix index 3afaf5e..5777cf4 100644 --- a/modules/services/nextcoud/default.nix +++ b/modules/services/nextcoud/default.nix @@ -26,8 +26,10 @@ in { hostName = "nextcloud.kilonull.com"; https = true; database.createLocally = true; + datadir = "/tank/nextcloud"; # Arbitrary large size maxUploadSize = "16G"; + configureRedis = true; config = { dbtype = "pgsql"; adminuser = "alejandro"; diff --git a/modules/suites/utils/default.nix b/modules/suites/utils/default.nix index d0931d2..fa29c86 100644 --- a/modules/suites/utils/default.nix +++ b/modules/suites/utils/default.nix @@ -33,6 +33,7 @@ in { lsof bind # for dig tcpdump + progress ]; }; } diff --git a/systems/x86_64-linux/node/zfs.nix b/systems/x86_64-linux/node/zfs.nix index 2ebbada..9ec41f2 100644 --- a/systems/x86_64-linux/node/zfs.nix +++ b/systems/x86_64-linux/node/zfs.nix @@ -4,5 +4,6 @@ ... }: { boot.supportedFilesystems = ["zfs"]; + boot.zfs.extraPools = ["tank"]; networking.hostId = "db616c9e"; }