From 2862350f61d88f20e41378b9a142ca31f670c335 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Mon, 5 Aug 2024 21:17:38 +0200 Subject: [PATCH] nixos/postfix: allow int in config eg. unknown_local_recipient_reject_code can be set to 550 which toString can stringify --- nixos/modules/services/mail/postfix.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/mail/postfix.nix b/nixos/modules/services/mail/postfix.nix index fd78c98d0cb4..6bb501959f95 100644 --- a/nixos/modules/services/mail/postfix.nix +++ b/nixos/modules/services/mail/postfix.nix @@ -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. '';