diff options
author | tdback <tyler@tdback.net> | 2024-12-24 20:08:50 -0500 |
---|---|---|
committer | tdback <tyler@tdback.net> | 2024-12-24 20:08:50 -0500 |
commit | 2f335a6c47b363189b976d18a8c7633bff4d7a33 (patch) | |
tree | ade55bb4f55a91ab34a1c859d8a849af8532ca77 /hosts/oasis | |
parent | 7643ff0660c93239d53406d331b3e026a20a8af4 (diff) |
add zquota to easily monitor disk usage of zfs datasets
Diffstat (limited to 'hosts/oasis')
-rw-r--r-- | hosts/oasis/default.nix | 5 |
1 files changed, 5 insertions, 0 deletions
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"; } |