aboutsummaryrefslogtreecommitdiff
path: root/hosts/eden
diff options
context:
space:
mode:
authortdback <tyler@tdback.net>2024-12-24 20:08:50 -0500
committertdback <tyler@tdback.net>2024-12-24 20:08:50 -0500
commit2f335a6c47b363189b976d18a8c7633bff4d7a33 (patch)
treeade55bb4f55a91ab34a1c859d8a849af8532ca77 /hosts/eden
parent7643ff0660c93239d53406d331b3e026a20a8af4 (diff)
add zquota to easily monitor disk usage of zfs datasets
Diffstat (limited to 'hosts/eden')
-rw-r--r--hosts/eden/default.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/hosts/eden/default.nix b/hosts/eden/default.nix
index 02be58f..01951ef 100644
--- a/hosts/eden/default.nix
+++ b/hosts/eden/default.nix
@@ -49,4 +49,12 @@
"zfs-zed"
];
};
+
+ services.zquota = {
+ enable = true;
+ quotas = {
+ "lagoon/backups" = 512;
+ "lagoon/media" = 2048;
+ };
+ };
}