Add quota-status memory limit

This commit is contained in:
Ryan Trinkle 2024-04-08 14:03:19 +00:00
parent 4a5eb4baea
commit 87ffaad9a3
2 changed files with 12 additions and 0 deletions

View File

@ -468,6 +468,14 @@ in
'';
};
quotaStatusMemoryLimit = mkOption {
type = types.int;
default = 256;
description = ''
The memory limit for the quota-status service, in megabytes.
'';
};
extraVirtualAliases = mkOption {
type = let
loginAccount = mkOptionType {

View File

@ -294,6 +294,10 @@ in
vsz_limit = ${builtins.toString cfg.lmtpMemoryLimit} MB
}
service quota-status {
vsz_limit = ${builtins.toString cfg.quotaStatusMemoryLimit} MB
}
recipient_delimiter = ${cfg.recipientDelimiter}
lmtp_save_to_detail_mailbox = ${cfg.lmtpSaveToDetailMailbox}