diff --git a/modules/programs/neomutt.nix b/modules/programs/neomutt.nix index 9a0f0113d..f2a6bbfff 100644 --- a/modules/programs/neomutt.nix +++ b/modules/programs/neomutt.nix @@ -111,7 +111,7 @@ let } else let smtpProto = if smtp.tls.enable then "smtps" else "smtp"; - smtpPort = if smtp.port != null then ":${smtp.port}" else ""; + smtpPort = if smtp.port != null then ":${toString smtp.port}" else ""; smtpBaseUrl = "${smtpProto}://${escape userName}@${smtp.host}${smtpPort}"; in {