From 507d47719dd88dff3b0f0adb9fdd77ee41cb878c Mon Sep 17 00:00:00 2001 From: niten Date: Mon, 25 Sep 2023 09:34:05 -0700 Subject: [PATCH] port toString --- postfix.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/postfix.nix b/postfix.nix index 7082ee5..17aa17f 100644 --- a/postfix.nix +++ b/postfix.nix @@ -344,8 +344,9 @@ in { # virtual_gid_maps = let gid = config.users.groups."${cfg.group}".gid; # in "static: ${toString gid}"; - virtual_transport = - "lmtp:inet:${cfg.lmtp-server.host}:${cfg.lmtp-server.port}"; + virtual_transport = "lmtp:inet:${cfg.lmtp-server.host}:${ + toString cfg.lmtp-server.port + }"; message_size_limit = toString (cfg.message-size-limit * 1024 * 1024);