diff --git a/mail-server/dovecot.nix b/mail-server/dovecot.nix index e0efaff..48de338 100644 --- a/mail-server/dovecot.nix +++ b/mail-server/dovecot.nix @@ -125,7 +125,7 @@ let cat < ${userdbFile} ${lib.concatStringsSep "\n" (lib.mapAttrsToList (name: value: "${name}:::::::" - + (if lib.isString value.quota + + (if value.quota != null then "userdb_quota_rule=*:storage=${value.quota}" else "") ) cfg.loginAccounts)}