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/eden/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'hosts/eden') 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; + }; + }; } -- cgit v1.2.3