2eafb8192e
GitOrigin-RevId: 176e455371a8371586e8a3ff0d56ee9f3ca2324e
5 lines
155 B
Nix
5 lines
155 B
Nix
{ lib }: {
|
|
# Converts a boolean to a yes/no string. This is used in lots of
|
|
# configuration formats.
|
|
yesNo = value: if value then "yes" else "no";
|
|
}
|