nixos/postfix: allow int in config

eg. unknown_local_recipient_reject_code can be set to 550 which toString
can stringify
This commit is contained in:
Sandro Jäckel 2024-08-05 21:17:38 +02:00
parent cb9a96f23c
commit 2862350f61
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

View file

@ -484,7 +484,7 @@ in
};
config = mkOption {
type = with types; attrsOf (oneOf [ bool str (listOf str) ]);
type = with types; attrsOf (oneOf [ bool int str (listOf str) ]);
description = ''
The main.cf configuration file as key value set.
'';