From 2f335a6c47b363189b976d18a8c7633bff4d7a33 Mon Sep 17 00:00:00 2001 From: tdback Date: Tue, 24 Dec 2024 20:08:50 -0500 Subject: add zquota to easily monitor disk usage of zfs datasets --- hosts/oasis/default.nix | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'hosts/oasis/default.nix') diff --git a/hosts/oasis/default.nix b/hosts/oasis/default.nix index 8ef44f9..5b849fb 100644 --- a/hosts/oasis/default.nix +++ b/hosts/oasis/default.nix @@ -47,5 +47,10 @@ ]; }; + services.zquota = { + enable = true; + quotas = { "tank/sftpgo" = 512; }; + }; + services.sftpgo.dataDir = "/tank/sftpgo"; } -- cgit v1.2.3