diff options
Diffstat (limited to 'hosts')
-rw-r--r-- | hosts/eden/default.nix | 8 | ||||
-rw-r--r-- | hosts/oasis/default.nix | 5 |
2 files changed, 13 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; + }; + }; } 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"; } |