nixos/dovecot: use lib.boolToYesNo

This commit is contained in:
Ben Siraphob
2026-09-18 12:09:22 -07:00
parent edb1620b2b
commit 7dffed1ecb

View File

@@ -90,8 +90,6 @@ let
}) cfg.sieve.pipeBins
);
yesOrNo = v: if v then "yes" else "no";
toOption =
i: n: v:
"${i}${toString n} = ${v}";
@@ -103,7 +101,7 @@ let
if isInt v then
toString v
else if isBool v then
yesOrNo v
lib.boolToYesNo v
else if isString v then
v
else if isPath v || isDerivation v then